Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Why not use
range("F7:GW1600").Value=Range ("E7:GV1600").value "Shooter" wrote: My macro contains the following code: Range ("I7:I1600).Value=Range ("H7:H1600).value Range ("H7:H1600).Value=Range ("G7:G1600).value Range ("G7:G1600).Value=Range ("F7:F1600).value Range ("F7:F1600).Value=Range ("E7:E1600).value End Sub The above 4 lines of the macro is only a small portion of the entire macro. The entire macro covers approximately 200 columns(F:GW) and thus the macro needs to be 200 rows long. Due to the consistency of the code, is there a way to substantially condence the code to achieve the same result? Thanks for your help. -- Shooter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I email amacro? | Excel Worksheet Functions | |||
error when running cut & paste macro | Excel Worksheet Functions | |||
Search, Copy, Paste Macro in Excel | Excel Worksheet Functions | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Highlight Range - wrong macro, please edit. | Excel Worksheet Functions |