LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
Gazeta
 
Posts: n/a
Default How can I insert a blank row after every row with data with Excel


Użytkownik "margaret1115" napisał w
wiadomości ...
I need to insert a blank row after every row containing data (to

facilitate
reading and adding survey data by hand) in an Excel spreadsheet. Is there

any
way to do so automatically by selecting the data then doing some menu

option
or keystroke? I can add a blank row with a macro but that is only a bit

less
laborious than having to add each blank row by hand. Thank you for your

help.
Margaret


suppose your data is placed in column A
i understod you want to add each row of data empty row
if so use following sub:

Sub insert()
m = Range("a1").CurrentRegion.Rows.Count
For i = m To 2 Step -1
Cells(i, 1).EntireRow.insert
Next
End Sub

is that what you wanted?
mcg




 
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
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
insert a blank row after data changes in a column cyndi Excel Discussion (Misc queries) 2 October 24th 05 02:46 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How to sort/update large excel db [email protected] Excel Discussion (Misc queries) 0 February 2nd 05 12:43 AM
Fetching External Data from Excel Sri Excel Discussion (Misc queries) 2 January 3rd 05 11:46 AM


All times are GMT +1. The time now is 09:56 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"