Thanks combo the code worked flawlessly.
The only snag I had was when I forgot to put the declarations up in the Option Explicit portion of the userform module. Woops!!!
Thanks again,
Tracey
Question for you experts - Is there a way to take the userform I created for excel in Microsoft visual basic and make it transparent(See through)over my excel application?
Currently the form must be moved or minimized to get it out of the way.
Thanks in advance,
Tracey
THANKS, GoodOmens and Brad for responding.
Brad I used the function that you listed. Below is what I used to check if an excel file is open and close inactive workbooks. I tried to make it generic in case someone else could use it.
***********************************************************...
I am working in an excel workbook and have written code in VBA to open another excel workbook and do some task. Pretty easy to open the file. See below.
Workbooks.Open Filename:= _
"c:\ABC.xls"
The problem I am having is that the next time I run my routine VBA wants to open the "ABC" file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.