Start when open

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is ON
[url] is ON
Smilies are ON
Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: Start when open

Re: Start when open

Post by cwmst7 » Wed Jan 06, 2010 3:39 pm

Try this:

Sub Stopwatch()
'
' Stopwatch Macro
'
Shell "C:\Program Files\XNote Stopwatch\xnsw.exe start", vbNormalFocus
End Sub



Shell starts and external program and runs it, not waiting to see it's results or anything. vbNormalFocus just says to set focus to the stopwatc. There are several other focus constants you can use (Maximize, Miniminze, ...)

Re: Start when open

Post by Stopwatch » Sun Nov 22, 2009 7:03 pm

I'm not familiar with Excel macros. Let's try anyway.

Re: Start when open

Post by bluefeather8989 » Sun Nov 22, 2009 5:45 pm

Thank you for your help. can you help me on making an macro fro excell that will open the stopwatch count down and make it start automatic ?? this is what i really need it to do

Re: Start when open

Post by Stopwatch » Sun Nov 15, 2009 8:10 pm

Start when open

Post by bluefeather8989 » Sun Nov 15, 2009 4:45 pm

[color=#0040FF]can u make an option that will start count down when stopwatch program is open :?: BTW i love this program and would buy it if u could add this feature.

Top