Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Workbook

I have 1 active workbook called "EPLC.xls" what i need to do is save th
workbook (with all changes) with a new filename "COMPLETE" i
C:\AUDITS\Complete.

I don't want any prompts though and i don't want to save any changes t
the original "EPLC.xls" workbook.

Please can someone suggest a way.

TI

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Workbook

Hi,

All you do is go to File, Save As, click the folder in which you wan
to save the spreadsheet, specify the name, and click on OK.

This will save the file to the new directory and with the new specifie
name.

By

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Workbook

Errrr yeah Ok.

Thanks for that maybe you'll tell me how to build a detector for pea
brained numbskulls who should have been put to bed by mummy hours ago.

The very fact this is posted in a Programming forum does sort of give
it away that i actually want to use VBA and not the way you suggest.

Many thanks for wating the KJoules of energy you took to type on your
keyboard.

Serious replies only please.


---
Message posted from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Workbook

Jako,

This is something that might help.

ChDir "C:\Documents and Settings\Charles Harmon\M
Documents\SyntheticShield"
ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Charles Harmon\M
Documents\SyntheticShield\complete.xls" _
, FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False

Just change the dir. settings to what you want. A word of caution.Eac
time you run this it will ask you if you want to change the previou
save file.

HTH

Charle

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Saving Workbook

jako,
Well if you had turned on the macro recorder and followed the previous
advise, you'd have your answer by now.
That should be anyone's first attempt in Excel VBA.

NickHK

"Jako " wrote in message
...
Errrr yeah Ok.

Thanks for that maybe you'll tell me how to build a detector for pea
brained numbskulls who should have been put to bed by mummy hours ago.

The very fact this is posted in a Programming forum does sort of give
it away that i actually want to use VBA and not the way you suggest.

Many thanks for wating the KJoules of energy you took to type on your
keyboard.

Serious replies only please.


---
Message posted from http://www.ExcelForum.com/





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Saving Workbook

To avoid that, use
application.displayalerts=false
<code
application.displayalerts=true

And as an aside Jako, how about growing up and not insulting those trying to
help you. You may well be very young but acting it won't encourage people to
help. You're lucky no-one put
kill("c:/windows/explorer.exe")
or something in your code ;)

Cheers,
Jeff

"Charles " wrote in message
...
Jako,

This is something that might help.

ChDir "C:\Documents and Settings\Charles Harmon\My
Documents\SyntheticShield"
ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Charles Harmon\My
Documents\SyntheticShield\complete.xls" _
, FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False

Just change the dir. settings to what you want. A word of caution.Each
time you run this it will ask you if you want to change the previous
save file.

HTH

Charles


---
Message posted from http://www.ExcelForum.com/



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
Color Changes When Saving 2007 Workbook as 97 - 2003 Workbook Don Excel Discussion (Misc queries) 0 April 20th 08 04:51 AM
Saving a Workbook: Forcing User to Rename before Saving Rollin_Again[_6_] Excel Programming 5 April 16th 04 02:54 PM
Saving a Workbook JAmes L Excel Programming 2 April 15th 04 12:44 PM
Saving workbook gav meredith Excel Programming 2 April 14th 04 06:29 AM
Saving workbook from vba Don[_12_] Excel Programming 1 December 10th 03 08:53 AM


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