Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using VBA to select applications...

I'm trying to write a macro that activates or selects a non microsoft
application that is running but can't quite figure out how to make VBA
know which application to select.

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Using VBA to select applications...

what application do you want to call??????????????

" wrote:

I'm trying to write a macro that activates or selects a non microsoft
application that is running but can't quite figure out how to make VBA
know which application to select.

Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Using VBA to select applications...

Dennis

Investigate the use of the "Shell" command.

Sub Internet_Explorer()
Dim taskID As Variant
On Error Resume Next
taskID = Shell("start iexplore.exe")
If Err < 0 Then _
MsgBox "IEXPLORE.EXE is not installed on your machine."
End Sub


Gord Dibben Excel MVP

On 24 Oct 2005 14:54:43 -0700, wrote:

I'm trying to write a macro that activates or selects a non microsoft
application that is running but can't quite figure out how to make VBA
know which application to select.

Any ideas?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Using VBA to select applications...

See the AppActivate statement.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

wrote in message
ups.com...
I'm trying to write a macro that activates or selects a non
microsoft
application that is running but can't quite figure out how to
make VBA
know which application to select.

Any ideas?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office applications will not run fred07 Setting up and Configuration of Excel 2 February 8th 07 07:44 PM
Crossing Applications - Possible? Marty Excel Programming 6 September 27th 05 03:22 AM
Linking to other applications rams Excel Programming 2 September 3rd 04 05:13 PM
Other applications Patrick Molloy[_4_] Excel Programming 2 July 23rd 03 12:08 AM


All times are GMT +1. The time now is 09:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"