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

Hello all,
Does anyone know how I can creat a macro which will save
the woorkbook so it would have a name as in one of the
cells (for example, B11 contains text "my files" and the
saved workbook after execution will have a name "my
files.xls").

Thank you in advance,
Nikita
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default saveas

Use SaveAs Method and set it equal to the cell with the text string.

On Tue, 16 Sep 2003 18:17:45 -0700, "Nikita"
wrote:

Hello all,
Does anyone know how I can creat a macro which will save
the woorkbook so it would have a name as in one of the
cells (for example, B11 contains text "my files" and the
saved workbook after execution will have a name "my
files.xls").

Thank you in advance,
Nikita


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
SaveAs - VBA Jae[_3_] Excel Discussion (Misc queries) 4 April 10th 08 08:10 PM
VBA SaveAs Value charlie Excel Discussion (Misc queries) 4 August 27th 07 11:33 PM
SaveAs Stan Halls Excel Worksheet Functions 5 November 28th 06 07:51 PM
SaveAs Darrin Henry Excel Programming 0 September 12th 03 10:09 PM
SaveAs Dave Peterson[_3_] Excel Programming 1 September 12th 03 12:44 AM


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