Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet with the following headings and
sample data: FirstName LastName Country Registered Bob James USA Yes John Jones Sweden Paul Burke USA Yes Bill Spivey USA Lou Dirks USA There a over 100 rows similar to the above. How can I write a macro that goes down the rows and insert a blank row after every 3 rows? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for x = 1 to bottom line + bottom line *1/3 step 3
rows(x).insert shift:=xldown next x -----Original Message----- I have a spreadsheet with the following headings and sample data: FirstName LastName Country Registered Bob James USA Yes John Jones Sweden Paul Burke USA Yes Bill Spivey USA Lou Dirks USA There a over 100 rows similar to the above. How can I write a macro that goes down the rows and insert a blank row after every 3 rows? . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I tried the macro but nothing happened. Also if I don't
join bottom and line as one word I receive an Expected: End of Statement message. Any suggestions? -----Original Message----- for x = 1 to bottom line + bottom line *1/3 step 3 rows(x).insert shift:=xldown next x -----Original Message----- I have a spreadsheet with the following headings and sample data: FirstName LastName Country Registered Bob James USA Yes John Jones Sweden Paul Burke USA Yes Bill Spivey USA Lou Dirks USA There a over 100 rows similar to the above. How can I write a macro that goes down the rows and insert a blank row after every 3 rows? . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Newbie Macro Question | Excel Discussion (Misc queries) | |||
Newbie: VBA? Macro? Please Advise... | Excel Discussion (Misc queries) | |||
Please help a newbie with an excel vba macro relating to comments. | Excel Discussion (Misc queries) | |||
Newbie seeks suggestion on recording new macro to print sheets | New Users to Excel | |||
Newbie Order-Entry Macro | Excel Discussion (Misc queries) |