Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Cant Digitally Sign Excel VBA Project

Hello,

I have created a digital signature using SelfCert.exe.

I have also created a VBA Module using Excel 2003 SP 2. The workbook that
contains the module is in the: -

Microsoft Excel 97 - Excel 2003 & 5.0/95 Workbook (*.xls) format.

When I digitally sign the VBA project and then try and save the file I get
the error message:

"Excel can not sign VBA macros when saving to this file format. Do you want
to remove the digital signature a continue saving this workbook?"

The workbook has to be shared with other users and changing the security
levels in Office for the other users is not an option.

Please can somebody help?

Thanks in advance Stevie.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default Cant Digitally Sign Excel VBA Project

According to Microsoft,

"You can digitally sign any Excel workbook or Excel template. However,
Excel versions that are earlier than Microsoft Excel 2002 do not
recognize the digital signature.

If you digitally sign a shared workbook, Excel will not retain the
digital signature because more than one person can make changes to the
workbook. Additionally, you cannot code sign a macro project, because
Excel will not allow you to create or make changes to macro projects
in a workbook after it has been set up as shared workbook."

http://support.microsoft.com/kb/820738


HTH,
JP

On Nov 9, 6:52 am, Stevie_J_D
wrote:
Hello,

I have created a digital signature using SelfCert.exe.

I have also created a VBA Module using Excel 2003 SP 2. The workbook that
contains the module is in the: -

Microsoft Excel 97 - Excel 2003 & 5.0/95 Workbook (*.xls) format.

When I digitally sign the VBA project and then try and save the file I get
the error message:

"Excel can not sign VBA macros when saving to this file format. Do you want
to remove the digital signature a continue saving this workbook?"

The workbook has to be shared with other users and changing the security
levels in Office for the other users is not an option.

Please can somebody help?

Thanks in advance Stevie.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Cant Digitally Sign Excel VBA Project

Thanks for the response JP.

Although other people will be using this workbook it has not been set-up as
a shared workbook.

Happily I have found a work around. That is, to save the workbook as a
template (xlt). Then, open the newly created xlt (as an xlt from the
templates folder) and save this template file as a workbook (xls).

"JP" wrote:

According to Microsoft,

"You can digitally sign any Excel workbook or Excel template. However,
Excel versions that are earlier than Microsoft Excel 2002 do not
recognize the digital signature.

If you digitally sign a shared workbook, Excel will not retain the
digital signature because more than one person can make changes to the
workbook. Additionally, you cannot code sign a macro project, because
Excel will not allow you to create or make changes to macro projects
in a workbook after it has been set up as shared workbook."

http://support.microsoft.com/kb/820738


HTH,
JP

On Nov 9, 6:52 am, Stevie_J_D
wrote:
Hello,

I have created a digital signature using SelfCert.exe.

I have also created a VBA Module using Excel 2003 SP 2. The workbook that
contains the module is in the: -

Microsoft Excel 97 - Excel 2003 & 5.0/95 Workbook (*.xls) format.

When I digitally sign the VBA project and then try and save the file I get
the error message:

"Excel can not sign VBA macros when saving to this file format. Do you want
to remove the digital signature a continue saving this workbook?"

The workbook has to be shared with other users and changing the security
levels in Office for the other users is not an option.

Please can somebody help?

Thanks in advance Stevie.




Reply
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
Digitally sign an Excel Workbook using VBA? Jeannot Excel Programming 0 February 13th 07 10:09 AM
How do I digitally sign a cell in an excel spreadsheet? Cheryl Excel Worksheet Functions 3 February 2nd 07 09:38 PM
Digitally signed Excel project problem ozpeter Excel Discussion (Misc queries) 0 August 3rd 05 10:59 AM
Digitally sign VBA Project at run time Sharad Naik Excel Programming 2 December 29th 04 12:36 PM
Can not digitally sign Sharad Naik Excel Programming 4 November 11th 04 04:39 AM


All times are GMT +1. The time now is 05:20 PM.

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"