Directional macro
Closed
kalignify
-
7 Jun 2009 à 02:28
Excelguru Posts 261 Registration date Saturday 11 April 2009 Status Member Last seen 21 June 2011 - 8 Jun 2009 à 06:14
Excelguru Posts 261 Registration date Saturday 11 April 2009 Status Member Last seen 21 June 2011 - 8 Jun 2009 à 06:14
Related:
- Directional macro
- Run macro in excel - Guide
- How to run a macro in excel - Guide
- How to copy macro from one workbook to another - Guide
- Macro antena apk - Download - Gaming tools
- Excel unlock macro - Guide
3 responses
Excelguru
Posts
261
Registration date
Saturday 11 April 2009
Status
Member
Last seen
21 June 2011
307
7 Jun 2009 à 05:12
7 Jun 2009 à 05:12
Hi
before pasting to a new sheet, just put the row and column number to variables and after pasting retrieve them
before pasting to a new sheet, just put the row and column number to variables and after pasting retrieve them
Thanks, but I'm not sure how to turn the cells to variables. I'm pretty new with macros. Would I be assigning each row/column a variable? Or each cell? And then I would instruct the macro to go to the assigned variable? Do you know the written command for this off-hand?
Excelguru
Posts
261
Registration date
Saturday 11 April 2009
Status
Member
Last seen
21 June 2011
307
8 Jun 2009 à 06:14
8 Jun 2009 à 06:14
Hi
"I am able to do the "find" function and position myself to the correct row. In that row, I want to copy 4 different cells and paste it in another sheet. "
Here when you are in the first cell to copy, put the current column to a variable and row number to another variable. then copy and paste the data. Then go to the cell whose reference you now stored in variables and go to the next cell copy and continue like that...
"I am able to do the "find" function and position myself to the correct row. In that row, I want to copy 4 different cells and paste it in another sheet. "
Here when you are in the first cell to copy, put the current column to a variable and row number to another variable. then copy and paste the data. Then go to the cell whose reference you now stored in variables and go to the next cell copy and continue like that...