Hi all
I have a workbook which will be used by multiple users as a form to be completed (not a "form" in excel terms, just a workbook with a mixture of text boxes, combo boxes & check boxes). The workbook contains lots of code and will unhide certain rows/combo boxes etc subject to the users selections/data input.
once the user has completed the form, it is saved and attached to an email and sent to a mailbox.
The recipient needs to see the form as completed by the user. they do not need to use any of the macros and do not want to change any of the data. The workbook itself contains "on open" code which we do not want to execute when opened by the recipient (only when opened by the user).
So I thought the easiest thing to do would be to save it as an xlsx file instead of xlsm thus disabling all macros
However when I do this and try and open the saved file, I get an error message "Excel cannot open the file 'file name..' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file."
Here is my code:
I'm new to VBA so sure I'm missing something really basic...Please Login or Register to view this content.
Thanks
Bookmarks