I understand if I add
it will change the date as above.
My problem is that when I start excel up now I get a box that tells me
Macro's are disabled because the security level is set to high and a digitally signed trusted certificate is not attached to the macro.......request the macros be signed by the author using a certificate issued by a certificate authority.
Is says I may encounter this error for the following reasons
....one being
macro security is set to high .... which it is. ... and ...
the application encounters a signed macro, but you selected Disable when prompted by the macro warning dialog when opening the file. Use the following procedure to enable the macro:
Close the file and any other instances of the application currently running on the computer (close all applications that also use the application you are currently running).
Open the file again and examine the certificate of trust details and set the Always trust macros from this publisher box if you trust the certificate issued by the publisher.
Click the Enable button to allow the macro to run.
Where are the certificate of trust details? They are not on tools/macros/security.
Code:
Private Sub workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Sheets("cable 1c").Range("G1").Value = Date
Sheets("cable 1d").Range("G1").Value = Date
Sheets("cable master").Range("D54").Value = Date
Sheets("box master").Range("D54").Value = Date
Sheets("cable 5").Range("B1").Value = Date
End Sub
My problem is that when I start excel up now I get a box that tells me
Macro's are disabled because the security level is set to high and a digitally signed trusted certificate is not attached to the macro.......request the macros be signed by the author using a certificate issued by a certificate authority.
Is says I may encounter this error for the following reasons
....one being
macro security is set to high .... which it is. ... and ...
the application encounters a signed macro, but you selected Disable when prompted by the macro warning dialog when opening the file. Use the following procedure to enable the macro:
Close the file and any other instances of the application currently running on the computer (close all applications that also use the application you are currently running).
Open the file again and examine the certificate of trust details and set the Always trust macros from this publisher box if you trust the certificate issued by the publisher.
Click the Enable button to allow the macro to run.
Where are the certificate of trust details? They are not on tools/macros/security.