A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

excel macro/funcion insert row if



 
 
Thread Tools Display Modes
  #1  
Old March 30th, 2010, 04:49 PM posted to microsoft.public.excel.misc
dersonnenach
external usenet poster
 
Posts: 2
Default excel macro/funcion insert row if

I need to insert rows in my excel spreadsheet under certain conditions.
Specifically, I should always have six lines with certain data in it. But
sometimes I have less. In order to process the data further I then need to
insert empty rows.
For example, I might have
1456
1234
1456
1345
1789
2479
2567

then I need:

1456
1234
1456
1345
1789
1
2479
2567
2
2
2
2

Does anyone know how to tackle this?
Thanks a lot!
  #2  
Old March 30th, 2010, 05:31 PM posted to microsoft.public.excel.misc
Reg
external usenet poster
 
Posts: 71
Default excel macro/funcion insert row if

I can think of lots of ways but you need to provide some context - for
example: where is the data coming from, are you using macros to insert the
rows what are you trying to achieve.

Regards
RegMigrant

"dersonnenach" wrote:

I need to insert rows in my excel spreadsheet under certain conditions.
Specifically, I should always have six lines with certain data in it. But
sometimes I have less. In order to process the data further I then need to
insert empty rows.
For example, I might have
1456
1234
1456
1345
1789
2479
2567

then I need:

1456
1234
1456
1345
1789
1
2479
2567
2
2
2
2

Does anyone know how to tackle this?
Thanks a lot!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:35 AM.


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