| Member with 4 posts. THREAD STARTER | | Join Date: May 2012 Experience: Intermediate | |
Solved: Excel: Uses contents of Cell to select a cell Using Excel 2003 in Windows XP
I would like to use the contents of one cell as the destination location for copying data.
For example
I have 2 worksheets 1) Results and 2) info
in info
A1 = 'ABC'
C1 = 'Results!O54' < this is calculated based on other data in sheet.
Using a macro, I'd like to copy contents of A1 to cell location 'Results!O54' more specifically to where ever C1 points... C1 will change based on other data in info sheet.
The macro record for action looks like this (but I would like the 'O54' to be based on contents of C1 which changes)
Range("A1").Select
Selection.Copy
Sheets("Results").Select
Range("O54").Select
ActiveSheet.Paste
Sheets("info").Select
There is more to it then that but I think this is where I am stumped. |