98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VB Commands
VB Commands
Resolved · 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 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
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Finding cells that have data restrictionsClick anywhere on the worksheet. |