Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nc nc is offline
external usenet poster
 
Posts: 119
Default Insert, Delete row and cell



A B C
D E

1 Date Description Amount

2 01/05/09 ?????? 100 S
20

3
30

4



1. How can I use macro to insert rows whenever I input "S" in column D, I
should be asked how many rows I would like to insert.

2. Delete any rows below the "S" when I delete "S" in column D. The number
of row will be dependent on whether the cells in coulmn A are empty below the
"S". In the above example row 3 and 4 would be deleted.

Any data in column E onwards in the same row as the "S" will also need to be
deleted.


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
Insert name - delete all yshridhar Excel Discussion (Misc queries) 3 April 23rd 08 11:19 AM
cut and delete a row then insert and copy lmch New Users to Excel 1 October 10th 07 11:38 AM
delete every X row, insert everyY row [email protected] Excel Discussion (Misc queries) 2 June 4th 07 04:34 PM
How can I insert and delete rows within a locked cell range column Gordon Cole Excel Worksheet Functions 0 October 1st 06 11:30 AM
can't insert, delete or move pictures parker Excel Discussion (Misc queries) 1 February 18th 05 01:03 AM


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