Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Can't get save as to work

Hello, I have several sheets in my workbook that has a moderate amount of
code.
All the code is working error free and there are no problems with the
workbook.
I can save the workbook with no problem.
I attempt to save as and I get the hourglass and it saves the workbook with
the same name and location. I can't get the save as window and can't change
the name or location.

Any ideas as to how to fix this??
Thanks
BOB


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Can't get save as to work

I've discovered that it will "Save As" if I don't enable macros?
Whhile Macros are enabled it still won't "Save As"

Thanks in advance.
BOB

"LabrGuy Bob R" wrote in message
...
Hello, I have several sheets in my workbook that has a moderate amount of
code.
All the code is working error free and there are no problems with the
workbook.
I can save the workbook with no problem.
I attempt to save as and I get the hourglass and it saves the workbook
with the same name and location. I can't get the save as window and can't
change the name or location.

Any ideas as to how to fix this??
Thanks
BOB




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Can't get save as to work

You might have code in the Thisworkbook Module Example below
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If SaveAsUI = True Then Cancel = True
'Prevent workbook being saved as
End Sub

"LabrGuy Bob R" wrote:

I've discovered that it will "Save As" if I don't enable macros?
Whhile Macros are enabled it still won't "Save As"

Thanks in advance.
BOB

"LabrGuy Bob R" wrote in message
...
Hello, I have several sheets in my workbook that has a moderate amount of
code.
All the code is working error free and there are no problems with the
workbook.
I can save the workbook with no problem.
I attempt to save as and I get the hourglass and it saves the workbook
with the same name and location. I can't get the save as window and can't
change the name or location.

Any ideas as to how to fix this??
Thanks
BOB





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Can't get save as to work

Thank you Mike,

I have the Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel
As Boolean)
in the code. Do you know of a way to still do what this needs to do and
recover the SaveAs???

I didn't program the code because I'm less than a novice, but this feature
"Save As" would be welcomed back.

Bob

"Mike" wrote in message
...
You might have code in the Thisworkbook Module Example below
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
If SaveAsUI = True Then Cancel = True
'Prevent workbook being saved as
End Sub

"LabrGuy Bob R" wrote:

I've discovered that it will "Save As" if I don't enable macros?
Whhile Macros are enabled it still won't "Save As"

Thanks in advance.
BOB

"LabrGuy Bob R" wrote in message
...
Hello, I have several sheets in my workbook that has a moderate amount
of
code.
All the code is working error free and there are no problems with the
workbook.
I can save the workbook with no problem.
I attempt to save as and I get the hourglass and it saves the workbook
with the same name and location. I can't get the save as window and
can't
change the name or location.

Any ideas as to how to fix this??
Thanks
BOB







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Can't get save as to work

Post your Workbook_BeforeSave code

"LabrGuy Bob R" wrote:

Thank you Mike,

I have the Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel
As Boolean)
in the code. Do you know of a way to still do what this needs to do and
recover the SaveAs???

I didn't program the code because I'm less than a novice, but this feature
"Save As" would be welcomed back.

Bob

"Mike" wrote in message
...
You might have code in the Thisworkbook Module Example below
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
If SaveAsUI = True Then Cancel = True
'Prevent workbook being saved as
End Sub

"LabrGuy Bob R" wrote:

I've discovered that it will "Save As" if I don't enable macros?
Whhile Macros are enabled it still won't "Save As"

Thanks in advance.
BOB

"LabrGuy Bob R" wrote in message
...
Hello, I have several sheets in my workbook that has a moderate amount
of
code.
All the code is working error free and there are no problems with the
workbook.
I can save the workbook with no problem.
I attempt to save as and I get the hourglass and it saves the workbook
with the same name and location. I can't get the save as window and
can't
change the name or location.

Any ideas as to how to fix this??
Thanks
BOB










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Can't get save as to work

Mike
I'm helping Bob with this project. Yes, I had a Cancel=True at the
beginning of the BeforeSave macro. It hadn't occurred to me that the Cancel
statement would cancel the SaveAs also, which, in hindsight, is rather
obvious.
I changed the code to allow a SaveAs without executing the rest of the
code in that macro, and to execute that code if the save command was a Save
only. So all is well now. Thanks for your time with this. Otto
"Mike" wrote in message
...
Post your Workbook_BeforeSave code

"LabrGuy Bob R" wrote:

Thank you Mike,

I have the Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean,
Cancel
As Boolean)
in the code. Do you know of a way to still do what this needs to do and
recover the SaveAs???

I didn't program the code because I'm less than a novice, but this
feature
"Save As" would be welcomed back.

Bob

"Mike" wrote in message
...
You might have code in the Thisworkbook Module Example below
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
If SaveAsUI = True Then Cancel = True
'Prevent workbook being saved as
End Sub

"LabrGuy Bob R" wrote:

I've discovered that it will "Save As" if I don't enable macros?
Whhile Macros are enabled it still won't "Save As"

Thanks in advance.
BOB

"LabrGuy Bob R" wrote in message
...
Hello, I have several sheets in my workbook that has a moderate
amount
of
code.
All the code is working error free and there are no problems with
the
workbook.
I can save the workbook with no problem.
I attempt to save as and I get the hourglass and it saves the
workbook
with the same name and location. I can't get the save as window and
can't
change the name or location.

Any ideas as to how to fix this??
Thanks
BOB










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
Save As and Save Buttons Don't Work tthompson235 Excel Discussion (Misc queries) 1 June 3rd 09 02:44 AM
Save while I work turp2tri Excel Discussion (Misc queries) 8 November 7th 08 11:34 PM
"Save as" will not work when trying to save a document in a folder Ernest Excel Discussion (Misc queries) 1 April 13th 06 06:48 AM
I wish to save my Excell work in my work sheets CLC 37 Qld Excel Worksheet Functions 0 May 24th 05 10:56 AM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM


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