Workbook and Window object question
Frederick,
If you use the file extension, e.g., Workbooks(''tester.xls") it will work
for either Windows setting.
hth,
Doug
"Frederick Chow" wrote in message
...
Hi all,
I have a question about specifying a member of the workbooks and windows
collection.
Suppose I have opened a file called "ABCDE.XLS", I found that whether I
should specify it as Workbooks("abcde.xls") or just Workbooks("abcde")
depends on a windows folder setting "Hide extensions for known file
types". That makes a problem for me as my macros will be run on someone
else's computers.
Are there any possible means to make things easier, for example is it
possible to use wildcards to specify a member of a workbooks or windows
collection? Please advise.
Frederick Chow
Hong Kong.
|