Tried this but I'm doing something wrong. What code should I have, fo
example, to open worksheet "Sundries" while I'm in a differen
worksheet in workbook "Main"
You could get that by recording a macro to see what you get.
Add the following line to the macro.
sheets("Sundries").activate
Davd Peterson's code would check if the workbook
were already open. Use "Main.xls" instead of "book1.xls"
and fix the pathname. In Chip Pearson's fix the full pathname
that includes filename.xls
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.