Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a worksheet. Starting in row 21, I want it to see if the entry in
column A is a number. If it is, I want it to go down one row and try again, i.e., test cell A22 to see if it is a number. If cell A21 is not a number, I want it to delete that entire row and then look at the entry in the new cell A21. If I have to put a maximum on it, I'd say there will not be more than 600 rows to test. When it is done with this, I would like it to highlight the block from cell A21 to the last row in column E. I would then like it to sort that block of data by the column B entry, in ascending order. I would then like to copy all data from cell A1 (the top left corner) down to the bottom right corner of that same block and have it paste it into another file of my choice, starting at its cell A1 of one or two worksheets. It would be pasted into one of two worksheets, either BOPCompHldgs or EOPCompHldgs, so I would need it to ask me which of the two sheets I want to paste into. There's a few other things after that, but I think I can handle that myself from the other stuff I've learned. Kindly help. Grace |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
How to end macro on inital active worksheet containing macro button that was clicked | Excel Programming | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |