Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would greatly appreciate if somebody could help me out creating a macro.
I need to create a lastRow variable from column B. Im not sure if this will work. Dim lastRow As String lastRow = Range(B2).End(xlDown).Row Then I need to loop from A2 to A & lastRow. During the loop: If it finds a number 0 in column A Then store the corresponding number two cells to the right (column C) as a variable. Then go over to column D and place number 1s downward (as many times as the stored variable number). Any help would be appreciated -- Regards, timmulla |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | 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 |