Hello,
I'm trying to create a macro that copies a certain amounts of cells (say 500) in one column and then waits for a keypress to copy the next 500, and continues to do this until the end of the column is reached whereby the macro is terminated.
When initially running the macro I'd like to be able to define in the start the number of cells to copy rather than editing the macro in case I want to change the number from 500.
Below is a more detailed order of what the macro has to do and things that are needed for it to do this.
Macro start position is "current cell"
1. Prompt for number of cells to copy and place # into variable (copyCount)
2. Copy cells from current cell to cell "copyCount" rows down. (i.e A1 - A500)
3. If data count < copyCount (i.e. A490 is last data row where cell is not blank)
Terminate macro
4. If data count = county count, (both are 500) then pause and prompt
(Copy more Yes / No)
5. If no - terminate macro
6. If yes - repeat steps 3 through 5
I had a ton of trouble just getting to Step #2 :-), so I definitely would appreciate any help you can offer!
Bookmarks