Disable Save As dialog on ReadOnly spreadsheet

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi All,
How can I disable the Save As prompt from appearing in a Read Only
spreadsheet?

something along the lines of (pseudo code)

if workbook.readonly then
close the workbook without saving
else
save the changes
end

What event should any code be put in ?

Andy
 
it definitely should be in auto_close. also the beforesave event in the workbook
event.
hope this helps
kanan
 

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