Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

thread68-1732600 Hi I am using

Status
Not open for further replies.

Brianfree

Programmer
Feb 6, 2008
220
GB
thread68-1732600


Hi I am using this macro again for a new project but i keep getting the same problem with...

cl2.Resize(10 ^ coun - 1).Insert Shift:=xlDown, CopyOrigin:=cl.Copy()

I do not understand what is causing the problem. The macro works and populates the data?

Please can anyone advise??

Many thanks

Brian
 
Macro help >> forum707

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
There may be problem with CopyOrigin parameter, it's a bit mysterious. I did some research how to use it, most of some sites state that it can be any of XlInsertFormatOrigin enum values indicating what format apply to added cels.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top