PC Review


Reply
Thread Tools Rate Thread

Cant Digitally Sign Excel VBA Project

 
 
=?Utf-8?B?U3RldmllX0pfRA==?=
Guest
Posts: n/a
 
      9th Nov 2007
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 With Quote
 
 
 
 
JP
Guest
Posts: n/a
 
      9th Nov 2007
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 <Stevi...@discussions.microsoft.com>
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 With Quote
 
=?Utf-8?B?U3RldmllX0pfRA==?=
Guest
Posts: n/a
 
      9th Nov 2007
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 <Stevi...@discussions.microsoft.com>
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digitally sign an Excel Workbook using VBA? Jeannot Microsoft Excel Programming 0 13th Feb 2007 10:09 AM
How do I digitally sign a cell in an excel spreadsheet? =?Utf-8?B?Q2hlcnls?= Microsoft Excel Worksheet Functions 3 2nd Feb 2007 09:38 PM
Digitally signed Excel project problem =?Utf-8?B?b3pwZXRlcg==?= Microsoft Excel Misc 0 3rd Aug 2005 10:59 AM
Digitally sign VBA Project at run time Sharad Naik Microsoft Excel Programming 2 29th Dec 2004 12:36 PM
Digitally Sign =?Utf-8?B?Sm9obiBEYWlseQ==?= Microsoft Access 1 31st Dec 2003 12:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:19 PM.