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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia Macro Excel .End(xlDown)

Status
Not open for further replies.

ubengineer

Aerospace
Joined
May 8, 2014
Messages
12
Location
US
I have a Catia macro that opens an excel file and trying to get it to find the last cell in a Column by using .End(xlDown).Row. I found a thread on here that has .End(xlUp) and tried even running that entire code and still the code even their code from is getting hung on that line. I am getting an error message: Run-time error 1004 Application-defined or object-defined error. Does any one have any ideas how to do a .End(xlDown) in catia for excel?
 
Figured it out. Had to type Const xlDown=-4121 at the beginning.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top