vb commands

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VB Commands

VB Commands

resolvedResolved · High Priority · Version 2007

Ronnie has attended:
Excel VBA Intro Intermediate course

VB Commands

What are the VB Commands to interface in other software applications

RE: VB Commands

Hi Ronnie, thanks for your query. The answer to your question depends a lot on the software you are trying to connect to! Essentially, when connecting to, say Word, from Excel VBA you declare a reference to the Word object (i.e. tell Excel Word actually exists!) throught Tools-References. You can then control the Word object model from Excel.

However, to control completely different software applications you have to gain access to their individual API (Application Programming Interface). This is a long way beyond the scope of this forum I'm afraid, but have a look here for a useful (VB, not VBA) introduction to this topic.

http://allapi.mentalis.org/vbtutor/tutmain.shtml

Hope this helps,

Anthony

Mon 6 Jun 2011: Automatically marked as resolved.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Finding cells that have data restrictions

Click anywhere on the worksheet.
On the Edit menu, click Go To.
Click Special.
Click Data validation.
Click All.

View all Excel hints and tips


Server loaded in 0.1 secs.