Hello,
I am quite new to VBA and new to this forum so hopefully I am explaining my requirements properly. I am using both Excel 2007 and Excel 2016.
I am creating a Private Sub that runs automatically when the workbook is opened. My code does everything that I need it to but we use the Signature Line for approvals. Once the file is approved and is signed, Excel automatically saves the file to Read Only and prevents any edits. If I re-open a file after it is signed, I need for the code to exit the sub instead of executing it, if I don't then the user will get an error because the macro fails.
I have added the code, which worked if I flagged the file as read only but didn't work if it was Read Only because it was signed.
I did some searching online and replace the first line above with the line below:Please Login or Register to view this content.
This resulted in a Run Time Error "438" Object does not support this property or method.Please Login or Register to view this content.
Over the last few hours I have done more searching (and tried several variations of the above) but can't seem to find very much VBA code relating to the use of the Signature Line function included in Excel.
Any help would be greatly appreciated.
Thank you.
Bookmarks