A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Programming
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to make a running XL app the active desktop window using VBAcode.



 
 
Thread Tools Display Modes
  #1  
Old July 9th 03, 04:47 AM posted to microsoft.public.excel.programming
Dave Peterson[_3_]
external usenet poster
 
Posts: 2,824
Default How to make a running XL app the active desktop window using VBAcode.

Something like this will cause the icon to flash in the windows start bar:

Option Explicit
Sub testme()
Application.Wait Now + TimeSerial(0, 0, 5)
AppActivate Application.Caption
End Sub



SVLewis wrote:
>
> I run an xl97 wb receiving a real-time data feed. I also run 2 other apps at
> same time. I need a way to make the XL app become the active window on the
> desktop using VBA code.


--

Dave Peterson

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to have an active worksheet as desktop wallpaper? Colby Excel Discussion (Misc queries) 1 April 16th 09 04:34 PM
missing Active Window bar Gomer Fackworth New Users to Excel 4 May 28th 08 02:13 PM
Active Window Question CWillis Excel Discussion (Misc queries) 4 July 19th 06 05:52 PM
Can I make a Excel Active Desktop Worksheet on XP? Garett Excel Discussion (Misc queries) 1 July 10th 06 05:44 PM
Displaying an excel file as an active desktop item? david.fredrikss Excel Discussion (Misc queries) 0 May 22nd 06 12:54 PM


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


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