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!

How to the sendkeys with VB in CATIA ?

Status
Not open for further replies.

Dina3419

New member
Aug 31, 2009
5
US
Hello everybody,

Like I said in my previous post ( I'd like to use the function Search in my macro with VB.

But it works only If I have previously opened the Search windows at least once.(In my previsous post I said that I need to run a first manually search but it was a mistake I just need to open the Search windows, it's enough).

So I have tried to use the Sendkeys function in my macro to open the windows automatically but nothing happens.

Code:
SendKeys "^F" 'code for CTRL+F

Would somebody know how to use the sendkeys function with CATIA V5 ?
 
Replies continue below

Recommended for you

Power input mode will do what you need

Sub CATMain()
CATIA.StartCommand "Search..."
End Sub

 
It works great !

Thank you both for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top