Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
May 8, 2014
12
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?
 
Replies continue below

Recommended for you

Figured it out. Had to type Const xlDown=-4121 at the beginning.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top