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



I'm using the bit of code to save my workbook base on the value in a
cell.

ActiveWorkbook.SaveAs FileName:=FiName

But it always savse in the my doc folder. Can I force it to save in
the folder of my choice.


Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default ActiveWorkbook.SaveAs

Make sure you include the path somewhere--in the code or in the cell:

ActiveWorkbook.SaveAs FileName:="C:\yourfolderhere\" & FiName



Little Penny wrote:

I'm using the bit of code to save my workbook base on the value in a
cell.

ActiveWorkbook.SaveAs FileName:=FiName

But it always savse in the my doc folder. Can I force it to save in
the folder of my choice.

Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default ActiveWorkbook.SaveAs

On Jan 15, 8:08*pm, Little Penny wrote:
I'm using the bit of code to save my workbook base on the value in a
cell.

ActiveWorkbook.SaveAs FileName:=FiName

But it always savse in the my doc folder. Can I force it to save in
the folder of my choice.

Thanks


ActiveWorkbook.SaveAs FileName:="C:\Documents and Settings\AnyPath\" &
FiName & ".xls"
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
Help with ActiveWorkbook.SaveAs Martin X. Excel Programming 3 August 15th 07 02:15 PM
ActiveWorkbook.SaveAs franks Excel Programming 6 August 6th 07 10:04 PM
ActiveWorkbook.SaveAs Returns BHatMJ Excel Programming 3 May 19th 07 02:31 AM
ActiveWorkbook.SaveAs problem SandyUK[_11_] Excel Programming 2 November 14th 05 02:54 PM
activeworkbook.saveas J Silver Excel Programming 0 June 25th 04 09:01 PM


All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"