Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Problem when attempting to save Workbook with VBA project protected

Hi folks,

may be I am too stupid to find the right google search arguments for my
problem.
Here goes:

EXCEL 97 Workbook on Windows 2000 prof. machine with VBA code in Module
1. Works as intended.

Now I hide the VBA code via VBA project properties and save ok.
Subsequent attempts to save the workbook will store it under a new
(random ?) filename without ".xls". An associated message will tell me
so as well as that the
file cannot be renamed and I should close this file.

What am I missing ?

Thanks in advance
--
Friedrich Hofmann



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Problem when attempting to save Workbook with VBA project protected

When you open a file, excel makes a copy of it and assigns a name such as
you describe. When you save the file, the original is deleted and this copy
is renamed. It sounds like the renaming is being prevented on your machine.
This can be caused by virus software or network permissions or perhaps
something else.

--
Regards,
Tom Ogilvy


"Friedrich Hofmann" wrote in message
...
Hi folks,

may be I am too stupid to find the right google search arguments for my
problem.
Here goes:

EXCEL 97 Workbook on Windows 2000 prof. machine with VBA code in Module
1. Works as intended.

Now I hide the VBA code via VBA project properties and save ok.
Subsequent attempts to save the workbook will store it under a new
(random ?) filename without ".xls". An associated message will tell me
so as well as that the
file cannot be renamed and I should close this file.

What am I missing ?

Thanks in advance
--
Friedrich Hofmann





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Problem when attempting to save Workbook with VBA project protected

Tom Ogilvy wrote:
| When you open a file, excel makes a copy of it and assigns a name
| such as you describe. When you save the file, the original is
| deleted and this copy is renamed. It sounds like the renaming is
| being prevented on your machine. This can be caused by virus software
| or network permissions or perhaps something else.

Hi Tom,

thanks for the quick response, however problem persists with AV-software
deactivated and obviously no network permissions involved (file resides
on local drive). Same thing also on Win XP Notebook.

Any idea why this happens only with VBA Project Protection enabled and
not with VBA Project Protection disabled ?

Regards
Friedrich



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Problem when attempting to save Workbook with VBA project protected

do you have the Google desktop installed. I don't want to attribute every
anomaly to that, but there were some weird things it caused to happen in the
VBE. I don't recall specifically if this is one of them.

take a look here and see if you find anything familiar: (if you do have it
installed)

http://www.dicks-blog.com/archives/2...oogle-desktop/

Other than that, nothing else comes to mind.

--
Regards,
Tom Ogilvy

"Friedrich Hofmann" wrote in message
...
Tom Ogilvy wrote:
| When you open a file, excel makes a copy of it and assigns a name
| such as you describe. When you save the file, the original is
| deleted and this copy is renamed. It sounds like the renaming is
| being prevented on your machine. This can be caused by virus software
| or network permissions or perhaps something else.

Hi Tom,

thanks for the quick response, however problem persists with AV-software
deactivated and obviously no network permissions involved (file resides
on local drive). Same thing also on Win XP Notebook.

Any idea why this happens only with VBA Project Protection enabled and
not with VBA Project Protection disabled ?

Regards
Friedrich





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Problem when attempting to save Workbook with VBA project protected

Tom Ogilvy wrote:
| do you have the Google desktop installed. I don't want to attribute
| every anomaly to that, but there were some weird things it caused to
| happen in the VBE. I don't recall specifically if this is one of
| them.
|
| take a look here and see if you find anything familiar: (if you do
| have it installed)
|
| http://www.dicks-blog.com/archives/2...oogle-desktop/
|
| Other than that, nothing else comes to mind.

Tom,

the problem went away after saving the file as an Excel Worksheet rather
than an Excel 97 Worksheet under a different file name. Obviously
another one of those MS mysteries.

Thank you for your assistance
Friedrich




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
Problem saving with VBA project protected. JAMES T. Excel Programming 6 March 19th 05 11:44 AM
Assigning the Help 4, *.HLP file for a project programmatically in a protected Project Tony Seiscons Excel Programming 0 October 4th 04 03:10 PM
Locking VBA code via Project properties but cannot save the workbook over itself Shane Excel Programming 4 July 27th 04 01:00 AM
Accesing vba project from wb that has vba project password protected cassidyr1 Excel Programming 2 July 3rd 04 01:49 PM
Message Box if Attempting to Save over Master sowetoddid[_26_] Excel Programming 2 June 9th 04 03:25 PM


All times are GMT +1. The time now is 09:17 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"