Hi I'm sorry, I'm a newbie with excel..
I get an error after closing and reopening the excel book. I tried to lookup the issue, I tried everything I could find.
I am able to compile and run the vba, but soon as I save it and reopenit, i get the message below.
"We found a problem with some content in "XXXXX.XLSM". do you want us tor try to recover as much as we can? if you trust the source of the workbook. click yes."
I've changed the Trust centre settings for the ActiveX Settings / Macro Settings / Trusted Locations. saved as an excel 95 file and recreated as an xlsm file. verifying any references.
I'm trying to adding an activeX Command button (I even tried to put a Form Control button) to the excel sheet.
I've even tried renaming the sheets.
Capture.PNG
In the attached image, after I say yes to the error, excel creates a new "Sheet1" object and moves the original "Sheet1" object to a new sequence number, in the image above, the original sheet was renumbered to "Sheet3"..
Any help would be greatly appreciated
here is the code for the button click event, it's simply copying and pasting columns to new area (there is a data validation list that i'm getting form another page).
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer![]()
Please Login or Register to view this content.
Bookmarks