![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 12
|
i need to know how to add some rows in a table automatically, with a macro.
the number of rows added depends on what number is input into a certain cell |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Posts: 12
|
?
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 162
|
Make the cell tell you how big a range to select before inserting rows.
Base cell content: Cells(1, 3) make a sub that sort of says: Rows("11:&Cells(1, 3)").Select Selection.insert Shift:=xlDown Otherwise you could try using the cstr function to draw a value from a cell. gluck |
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 12
|
thank you
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|