akinkaraman
Member
I have 2 macros.
First one asks password if the file is expired and if entering right password it opens Data sheet otherwise it deletes the expired excel file.
Second one asks to accept the macros and if accepting then shows the Data sheet.
My Expired Date file doesn't work if the user doesn't accept the macros so I want it to ask to the user to accept macros, if he accepts than it will check the file if it is expired or not. Then if it is expired then will ask to enter the passcode. At last if it is expired and wrong password then finally it will be deleted.
I want to combine second macro into my first macro to force people to accept macros.
Now I have 2 different ThisWorkbook codes and I couldn't combine them in 1 ThisWorkbook code.
Please help me..
Not: Passcode for first file (Expired Date) is chandoo.
If you enter wrong code it will be deleted.
Thank you..
First one asks password if the file is expired and if entering right password it opens Data sheet otherwise it deletes the expired excel file.
Second one asks to accept the macros and if accepting then shows the Data sheet.
My Expired Date file doesn't work if the user doesn't accept the macros so I want it to ask to the user to accept macros, if he accepts than it will check the file if it is expired or not. Then if it is expired then will ask to enter the passcode. At last if it is expired and wrong password then finally it will be deleted.
I want to combine second macro into my first macro to force people to accept macros.
Now I have 2 different ThisWorkbook codes and I couldn't combine them in 1 ThisWorkbook code.
Please help me..
Not: Passcode for first file (Expired Date) is chandoo.
If you enter wrong code it will be deleted.
Thank you..