Hi there
I've done something a bit silly. I am creating a spreadsheet for my users and open a switchboard form in the Auto Open event of the worksheet. The form has buttons to open other forms and close the spreadsheet as required. I have put in some code so the 'X' at the top right doesn't close the form, so I can run the code which is behind the close button and close down the form neatly. My problem is that I cannot now get to the code behind the form - I can only run the spreadsheet as a user as any attempt to close the form via the 'X' fails (exactly as I wanted) so the only way to close the form is via my button which closes the spreadsheet. If it was Access, I would open holding the shift key - how do I get behind the code in Excel? Sorry if this is a very simple question but it's causing me fustration.
Thanks and Regards
Fiona
I've done something a bit silly. I am creating a spreadsheet for my users and open a switchboard form in the Auto Open event of the worksheet. The form has buttons to open other forms and close the spreadsheet as required. I have put in some code so the 'X' at the top right doesn't close the form, so I can run the code which is behind the close button and close down the form neatly. My problem is that I cannot now get to the code behind the form - I can only run the spreadsheet as a user as any attempt to close the form via the 'X' fails (exactly as I wanted) so the only way to close the form is via my button which closes the spreadsheet. If it was Access, I would open holding the shift key - how do I get behind the code in Excel? Sorry if this is a very simple question but it's causing me fustration.
Thanks and Regards
Fiona