Sheffield Forum
Inserting blank row in excel
Home > General Forums > Computer & Tech Chat

Reply
 
Thread Tools Search this Thread
Old 05-06-2006, 19:32   #1
sharpend
Registered User
 
sharpend's Avatar
 
Join Date: Feb 2006
Location: Location...
Total Posts: 1,428
Send a message via MSN to sharpend Send a message via Skype™ to sharpend
I know there are a few excel whizz kids on the forum so here goes.

I have a spreadsheet which consists on one column and about 3500 records.

I want to insert a blank row every 50 records - now I could count down every 50 and do insert row but otoh, i would rather watch the grass grow.

How can I automate this on excel 2003 ? (or can I?)

Thanks in advance
__________________
Virtual speed networking via webinar - Yes really - Click this now
  Reply With Quote
Sponsored Links - Register and/or Login to hide this ad.
Old 05-06-2006, 19:35   #2
Edd
Registered User
 
Edd's Avatar
 
Join Date: Jul 2003
Total Posts: 558
Send a message via AIM to Edd
You could write a macro to do it. If you dont know how, let me know - it sounds pretty simple..i could have a go at writing it for you
__________________
Bite my shiny metal butt!
  Reply With Quote
Old 05-06-2006, 19:37   #3
sharpend
Registered User
 
sharpend's Avatar
 
Join Date: Feb 2006
Location: Location...
Total Posts: 1,428
Send a message via MSN to sharpend Send a message via Skype™ to sharpend
macros are beyond me i am afraid

A google search indicates that this may be the answer though

Can find references to it but only in a "excel tips" download booklet (+ pay)
__________________
Virtual speed networking via webinar - Yes really - Click this now
  Reply With Quote
Old 05-06-2006, 19:58   #4
adaline
ZeroCool
 
adaline's Avatar
 
Join Date: Jan 2005
Location: Hunters Bar
Total Posts: 1,302
Im sure Excells own help system might have something about recording macros (hint hint)
And its free! And right there infront of you!
  Reply With Quote
Old 06-06-2006, 08:40   #5
Nazo
Registered User
 
Nazo's Avatar
 
Join Date: Jun 2005
Location: Town
Total Posts: 887
This should work:

Scroll down to the bottom of the worksheet and highlight the bottom row. Then choose Insert -> Name -> Define and call it "bottom"

Then go to Tools -> Macro -> Macro... and type in a name and hit create.
Then in between the sub and End sub paste this:

Dim rowNo As Integer
For rowNo = 1 To Range("Bottom").Row Step 50
Rows(rowNo & ":" & rowNo).Select
Selection.Insert Shift:=xlDown
Next

That will insert it after 50 rows so if you want it at the 50th change the Rows line to rowNo -1
  Reply With Quote
Old 06-06-2006, 08:59   #6
sharpend
Registered User
 
sharpend's Avatar
 
Join Date: Feb 2006
Location: Location...
Total Posts: 1,428
Send a message via MSN to sharpend Send a message via Skype™ to sharpend
Many thanks to all who have helped - job now done
__________________
Virtual speed networking via webinar - Yes really - Click this now
  Reply With Quote
Old 06-06-2006, 19:37   #7
melthebell
*gets coat*
 
melthebell's Avatar
 
Join Date: Mar 2005
Location: Near whitby, originally from Sheffield
Total Posts: 41,040
Send a message via MSN to melthebell Send a message via Yahoo to melthebell
i only do it manually


ont he other hand i can play pacman and space invaders in excel?
__________________
Does your wife know what your up to mel when your in your own little world?
  Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search



All times are GMT. The time now is 04:59.
POSTS ON THIS FORUM ARE NOT ACTIVELY MONITORED
Click "Report Post" under any post which may breach our terms of use.
©2002-2012 SheffieldForum.co.uk | Powered by vBulletin ©2013