W
Walt
Hi,
I appears that any VBA code that adds or deletes Excel worksheets or
adds or deletes controls, like buttons on worksheets, will not retain
its code signing certificate on a user's machine. What about
temporary modifications to the Worksheet Menu Bar (Adding & deleting
controls here too)? Is there a list of such items/objects/whatever
somewhere? Am I wrong in my observation somehow? Are there best
practice ways to work around these?
In no case are my users looking at my code in the VBE or editing it
(Password protected & I know they don't want to be bothered with that),
yet the certificates are being lost consistently.
I thought - well, maybe the fact that I had event code on worksheets
being copied via VBA code might trigger something because when the user
chooses to copy that worksheet, there's more code created in the copy
(I supposed that might trigger the removal of the certificate). So I
moved the activate, deactivate, and change event code to the workbook
level and cleared all code from the worksheets that can be copied
(Adding logic to identify the worksheet involved and then applying the
appropriate logic). This did not work. Is there a residual effect
of code having been attached to a worksheet?
That's 5 question marks & probably enough for now. Help appreciated.
Best Regards,
Walt Weber
Win XP & 98 with Excel 2000, 2002, 2003
Thawte Cert with Verisign Timestamp
I appears that any VBA code that adds or deletes Excel worksheets or
adds or deletes controls, like buttons on worksheets, will not retain
its code signing certificate on a user's machine. What about
temporary modifications to the Worksheet Menu Bar (Adding & deleting
controls here too)? Is there a list of such items/objects/whatever
somewhere? Am I wrong in my observation somehow? Are there best
practice ways to work around these?
In no case are my users looking at my code in the VBE or editing it
(Password protected & I know they don't want to be bothered with that),
yet the certificates are being lost consistently.
I thought - well, maybe the fact that I had event code on worksheets
being copied via VBA code might trigger something because when the user
chooses to copy that worksheet, there's more code created in the copy
(I supposed that might trigger the removal of the certificate). So I
moved the activate, deactivate, and change event code to the workbook
level and cleared all code from the worksheets that can be copied
(Adding logic to identify the worksheet involved and then applying the
appropriate logic). This did not work. Is there a residual effect
of code having been attached to a worksheet?
That's 5 question marks & probably enough for now. Help appreciated.
Best Regards,
Walt Weber
Win XP & 98 with Excel 2000, 2002, 2003
Thawte Cert with Verisign Timestamp