Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello. I have some VBA experience with Access but a total newbie when it
comes to Excel. I have inherited a series of spreadsheets that need to be in a totally different format. Manually moving around the data is not the best approach. I would like to cut the entire row if the term "Range" is found in Col H and replace this data in Col A - Col D in the following rows below until the term "Range" is found again. Then the process would start all over again until the end of the spreadsheet (which changes from file to file. My example below is an attempt to better illustrate my thoughts. Any help in this code or to point me in the right direction would be appreciated. Existing Example Col A Col B Col C Col D Col E Col F Col G Col H 1 Jan07 Smith Amt Range 2 Label Field Amt Amt 3 Label Field Amt Amt 4 Mar07 Jones Amt Range 5 Label Field Amt Amt 6 Label Field Amt Amt 7 Jun07 Mason Amt Range Desired Result Col A Col B Col C Col D Col E Col F Col G Col H 1 <delete row Jan07 Smith Amt Range 2 Jan07 Smith Amt Range Label Field Amt Amt 3 Jan07 Smith Amt Range Label Field Amt Amt 4 <delete row Mar07 Jones Amt Range 5 Mar07 Jones Amt Range Label Field Amt Amt 6 Mar07 Jones Amt Range Label Field Amt Amt 7 <delete row Jun07 Mason Amt Range <and so on and so on |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automate copy / paste | Excel Discussion (Misc queries) | |||
automate copy and paste | Excel Discussion (Misc queries) | |||
Automate Cut & Paste | Setting up and Configuration of Excel | |||
Automate Copy and Paste | Excel Programming | |||
Automate cut/paste functions - Help! | Excel Discussion (Misc queries) |