S
Soren
Hi
This is probably a simple question. I am trying to write
a macro that will run some code based on a Window name.
This is the line I use:
If WndwName Like "Letter" & "*" Then (do something)
So if the wndow name is "Letter1 to Alice", it will run.
However it will also run if the window name is "Letterman"
I want my code to just run if the word Letter is followed
by a number, how do I do that?
Thanks in advance
Soren
(e-mail address removed)
This is probably a simple question. I am trying to write
a macro that will run some code based on a Window name.
This is the line I use:
If WndwName Like "Letter" & "*" Then (do something)
So if the wndow name is "Letter1 to Alice", it will run.
However it will also run if the window name is "Letterman"
I want my code to just run if the word Letter is followed
by a number, how do I do that?
Thanks in advance
Soren
(e-mail address removed)