Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel.Worksheet.Rows.Insert(Shift as Object, CopyOriginal
as Object) as Object My question is what Objects the Shift and CopyOriginal should be. Also what is it returning? A row? A range? I am trying to put an array (20-40 rows by 20 columns) into a spreadsheet. The spreadsheet needs to make the rows fit by inserting X amount of rows as needed. So a simply insert row should work right? At least it does when I do it manually. (Highlight a row, right click and select insert) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Take a look at VBA Help. Both Shift and CopyOriginals should be
Variants. Help lists what to look for in the object browser. In article , "Andy" wrote: Excel.Worksheet.Rows.Insert(Shift as Object, CopyOriginal as Object) as Object My question is what Objects the Shift and CopyOriginal should be. Also what is it returning? A row? A range? I am trying to put an array (20-40 rows by 20 columns) into a spreadsheet. The spreadsheet needs to make the rows fit by inserting X amount of rows as needed. So a simply insert row should work right? At least it does when I do it manually. (Highlight a row, right click and select insert) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cannot insert worksheet in exel - not available in insert menu | Excel Worksheet Functions | |||
insert row / insert column command buttons | Excel Worksheet Functions | |||
How can I insert a date with an icon (calendar) insert | Excel Discussion (Misc queries) | |||
Can I auto insert a worksheet when I insert a value in a cell. | Excel Worksheet Functions | |||
Insert Next? Or insert a variable number of records...how? | Excel Discussion (Misc queries) |