ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel rows.insert question (https://www.excelbanter.com/excel-programming/379222-re-excel-rows-insert-question.html)

NickHK

Excel rows.insert question
 
Scott,
Seems it can one of the XlInsertFormatOrigin enum values:
Const xlFormatFromLeftOrAbove = 0
Const xlFormatFromRightOrBelow = 1

There's a slightly better description here than in the Help:
http://msdn2.microsoft.com/en-us/lib...(VS. 80).aspx
"CopyOrigin
One of the XlInsertFormatOrigin values that specifies where to obtain the
format to apply to the new cells."

Maybe that helps ??

NickHK

<Cooper; "Scott A." wrote in
message ...
Excel programing help shows CopyOrigin as a parameter for insert method

but I
can't find out what it is or how it works.

--
Scott A. Cooper





All times are GMT +1. The time now is 03:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com