Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multiple blank lines, between multiple lines


Title sounds silly doesnt it?

I was wondering how i could format a column to insert 3 rows betwee
each row.
as if it were going from

option1
option2
option3

to

option1



option2



option3

and so on...

I'm pretty sure that it has something to do with
Selection.Insert Shift:=xlDown
and
Rows(":").Select
but i don't know enough about excel programming to make th
association.

I hope you guys can help!!

--
Wishmaste
-----------------------------------------------------------------------
Wishmaster's Profile: http://www.excelforum.com/member.php...fo&userid=1561
View this thread: http://www.excelforum.com/showthread.php?threadid=27160

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Multiple blank lines, between multiple lines

Sub AddRows()
Dim rng as Range, i as Long
set rng = cells(rows.count,1).End(xlup)
for i = rng.row to 2 step -1
cells(i,1).Resize(,3).EntireRow.Insert
Next
End Sub

--
Regards,
Tom Ogilvy

"Wishmaster" wrote in message
...

Title sounds silly doesnt it?

I was wondering how i could format a column to insert 3 rows between
each row.
as if it were going from

option1
option2
option3

to

option1



option2



option3

and so on...

I'm pretty sure that it has something to do with
Selection.Insert Shift:=xlDown
and
Rows(":").Select
but i don't know enough about excel programming to make the
association.

I hope you guys can help!!!


--
Wishmaster
------------------------------------------------------------------------
Wishmaster's Profile:

http://www.excelforum.com/member.php...o&userid=15614
View this thread: http://www.excelforum.com/showthread...hreadid=271601



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
Multiple Worksheets, multiple lines and summarizing into one works smiley61799 New Users to Excel 1 September 10th 09 09:31 PM
In Excel 2007 chart with multiple lines, mouse doesn't track lines sfuelling Charts and Charting in Excel 1 August 19th 09 09:41 PM
display 1 line of multiple worksheets into multiple lines on 1 wks Golf Nut Excel Worksheet Functions 1 October 5th 06 08:28 AM
Display multiple lines of text within a cell from multiple column. Zeeshan Zaheer Excel Worksheet Functions 3 August 23rd 06 10:08 AM
how to automatically insert blank lines in between non-blank lines No Name Excel Programming 2 November 17th 03 03:40 PM


All times are GMT +1. The time now is 10:33 AM.

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"