Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro Help for Newbie

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Macro Help for Newbie

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro Help for Newbie

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Macro Question rich Excel Discussion (Misc queries) 1 August 23rd 07 07:15 PM
Newbie: VBA? Macro? Please Advise... pollywog1961 Excel Discussion (Misc queries) 1 May 29th 06 07:57 PM
Please help a newbie with an excel vba macro relating to comments. zulfer7 Excel Discussion (Misc queries) 8 May 19th 06 10:40 PM
Newbie seeks suggestion on recording new macro to print sheets Vivian New Users to Excel 2 May 10th 06 06:53 AM
Newbie Order-Entry Macro none Excel Discussion (Misc queries) 1 January 28th 05 02:37 AM


All times are GMT +1. The time now is 03:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"