Save As - triggers ListBox control

Joined
Jun 1, 2007
Messages
2
Reaction score
0
I have a worksheet that is protected to limit user access to only unlocked cells. After data entry by the user (in one situation it's making a selection from a listbox), I use code to make calculations on their new data and then unprotect the worksheet to enter the results. I then reprotect the worksheet.

I've run into something I haven't encountered before and could use some help. Namely, things work fine unless I perform a File - "Save As" command. This automatically triggers the Listbox_Change code and gets things out of sequence. It does not seem to trigger the control with the "Save" command, only the "Save as" command. Why is it triggering this control, and more importantly, how can I avoid the trigger or exit that code if triggered by the "Save as" command.

Thanks
 

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