Unsharing a workbook

  • Thread starter Thread starter abxy
  • Start date Start date
A

abxy

i'm trying to come up with a way to have my workbook say "if i'm not i
drive I: then i can't be a shared workbook"

I need it so that when i do a savecopyas of the workbook(which i
shared) to another drive it won't open up as a shared workbook. Tha
way, people in our department can share the workbook, and people tha
aren't in our department can't.
Any suggestions
 
Try using Workbooks.Application.Path it returns the path of the current
object....I would put it in the workbook.open event and if the path doesn't
match the one that you expect then close the book.

Rui
 

Ask a Question

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.

Ask a Question

Back
Top