Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following procedure to detect if an application is running and
registers it: Sub DetectExcel() Const WM_USER = 1024 Dim hWnd as Long hWnd = FindWindow("XLMAIN",0) If hWnd = 0 Then Exit Sub Else SendMessage hWnd, WM_USER + 18, 0, 0 End If End Sub This obviously applies to Excel. How do I accomplish the same thing in terms of Word? Thanks, Bill |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Dim the contents of a variable in running procedure? | Excel Discussion (Misc queries) | |||
Problems calling a procedure in another application | Excel Programming | |||
Running Event Procedure When Cell Updated on Excel Worksheet | Excel Programming | |||
running an password protected application | Excel Programming | |||
Problem in running an application | Excel Programming |