LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.office.misc
external usenet poster
 
Posts: 6
Default Digital signature breaks on insertion of new Worksheets

I have created a spreadsheet containing VBA code that I want to distribute
to customers. In order to let me run VBA on clients' machines, I have bought
a digital signature and have signed my file.

My problem is that the code needs to create new worksheets, but if I save
the file after doing so, Excel complains and drops the signature with the
error message "You have modified a signed project. You do not have the
correct key to sign this project. The signature will be discarded."

I think this arises because the new worksheet generates a corresponding new
'Microsoft Excel Object' - i.e. Sheetx, and that VBA then considers this
amounts to changing the macros and therefore requires them to be re-signed.
My question - is this correct and if so, are there any workarounds?

Thanks

Luke



Background information

- version : Excel 2003. Upgrading to 2007 is a possibility if it overcomes
the problem.

Other questions

Having read around the problem, I seem to have two options:- force users to
run macro security at low, or modify my code to run as an Excel Addin file.
I've never had to do either before, so

- Can I set a user's macro security level programmatically?
- If I went for the add-in approach, what would I lose? My workbook is
currently very interactive, with Macros running on some Change and Select
events; would that have to go?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Signature sean.long Excel Discussion (Misc queries) 1 April 18th 08 05:07 PM
Use of SelfCert Digital Signature JMay Excel Discussion (Misc queries) 0 June 16th 07 04:07 PM
Digital Signature Sandy Mann Excel Discussion (Misc queries) 5 January 11th 06 11:58 PM
Digital signature TLS Excel Discussion (Misc queries) 0 June 4th 05 06:34 AM
Digital Signature Gets Removed By Itself Kenjiro Yagi Excel Worksheet Functions 0 December 2nd 04 09:20 AM


All times are GMT +1. The time now is 07:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"