#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Insert

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Insert

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
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
Cannot insert worksheet in exel - not available in insert menu pedro39 Excel Worksheet Functions 1 July 24th 08 12:09 PM
insert row / insert column command buttons fairgreen Excel Worksheet Functions 1 October 29th 07 02:41 PM
How can I insert a date with an icon (calendar) insert Alfredo Mederico[_2_] Excel Discussion (Misc queries) 4 September 21st 07 01:20 AM
Can I auto insert a worksheet when I insert a value in a cell. iainc Excel Worksheet Functions 0 April 27th 06 08:37 AM
Insert Next? Or insert a variable number of records...how? Tom MacKay Excel Discussion (Misc queries) 0 April 20th 06 10:44 PM


All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"