Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 193
Default Auto insert of blank lines

After importing data into excel, I have the need to insert blank lines after
each data line to make the data easier to work with. I have been doing it
manually, but it takes a long time on big spreadsheets. Is there a way to
have excel insert a blank line after each data line automatically? I am
using excel 2003. Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Auto insert of blank lines

One way ..
Assume you have 10 data lines in rows 1 to 10
Insert a new col A, fill the series:1,2,3.. 10 in A1:A10.
Copy A1:A10, paste into A11:A20
Then select the entire sheet, sort by col A ascending.
This gives you the required results - blank lines insertion between each
data line.
Delete col A to clean up.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Robert" wrote:
After importing data into excel, I have the need to insert blank lines after
each data line to make the data easier to work with. I have been doing it
manually, but it takes a long time on big spreadsheets. Is there a way to
have excel insert a blank line after each data line automatically? I am
using excel 2003. Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Auto insert of blank lines

Rather than inserting a blank row between rows of data maybe just double the row
heights of the existing rows for appearance.

Blank rows will make it very difficult work with your data when you need to sort
or filter or copy/paste.


Gord Dibben MS Excel MVP


On Wed, 28 Nov 2007 06:54:01 -0800, Robert
wrote:

After importing data into excel, I have the need to insert blank lines after
each data line to make the data easier to work with. I have been doing it
manually, but it takes a long time on big spreadsheets. Is there a way to
have excel insert a blank line after each data line automatically? I am
using excel 2003. Thanks for any help.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 193
Default Auto insert of blank lines

Thanks I will try this.

"Robert" wrote:

After importing data into excel, I have the need to insert blank lines after
each data line to make the data easier to work with. I have been doing it
manually, but it takes a long time on big spreadsheets. Is there a way to
have excel insert a blank line after each data line automatically? I am
using excel 2003. Thanks for any help.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 193
Default Auto insert of blank lines

I thought of this, the problem though that I have is that all row are not the
same size, unless you know how to double the size when the rows might be
different sizes.

Thanks
"Robert" wrote:

After importing data into excel, I have the need to insert blank lines after
each data line to make the data easier to work with. I have been doing it
manually, but it takes a long time on big spreadsheets. Is there a way to
have excel insert a blank line after each data line automatically? I am
using excel 2003. Thanks for any help.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Auto insert of blank lines

Robert

Sub foo()
Dim c As Range
For Each c In Selection
c.RowHeight = c.RowHeight * 2 'or 1.5 or whatever you choose
Next c
End Sub

Believe me.....you will have fewer problems if you don't insert blank rows.


Gord

On Wed, 28 Nov 2007 12:10:02 -0800, Robert
wrote:

I thought of this, the problem though that I have is that all row are not the
same size, unless you know how to double the size when the rows might be
different sizes.

Thanks
"Robert" wrote:

After importing data into excel, I have the need to insert blank lines after
each data line to make the data easier to work with. I have been doing it
manually, but it takes a long time on big spreadsheets. Is there a way to
have excel insert a blank line after each data line automatically? I am
using excel 2003. Thanks for any help.


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
Add button to bottom of spreadsheet to delete blank lines auto GD Excel Discussion (Misc queries) 1 August 7th 07 06:07 PM
macro to insert blank line when lines sum to zero TCoats Excel Discussion (Misc queries) 0 July 2nd 07 05:08 PM
Macro not recognizing blank lines as blank pm Excel Discussion (Misc queries) 9 May 22nd 07 04:16 PM
Macro to insert blank lines Terry Pinnell Excel Discussion (Misc queries) 6 October 21st 05 11:21 PM
auto insert blank line Little pete Excel Discussion (Misc queries) 4 August 29th 05 09:48 PM


All times are GMT +1. The time now is 02:12 PM.

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

About Us

"It's about Microsoft Excel"