Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default How to open a new workbook and rename the workbook?

I need to know how to open a new workbook and then rename the workbook?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default How to open a new workbook and rename the workbook?

Click FILE and select SAVE or press <CTRL + S
--
Kevin Backmann


"pokdbz" wrote:

I need to know how to open a new workbook and then rename the workbook?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default How to open a new workbook and rename the workbook?

Sorry was trying to write VBA code for this.

I have Workbooks.Add but I cannot figure out how to rename the open Workbook.

"Kevin B" wrote:

Click FILE and select SAVE or press <CTRL + S
--
Kevin Backmann


"pokdbz" wrote:

I need to know how to open a new workbook and then rename the workbook?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to open a new workbook and rename the workbook?

Workbooks are "renamed" by saving them.

So you'll have to use something like:

dim NewWkbk as workbook
set newwkbk = workbooks.add
newwkbk.saveas filename:="C:\whateveryouwanthere.xls", _
fileformat:=xlworkbooknormal


pokdbz wrote:

Sorry was trying to write VBA code for this.

I have Workbooks.Add but I cannot figure out how to rename the open Workbook.

"Kevin B" wrote:

Click FILE and select SAVE or press <CTRL + S
--
Kevin Backmann


"pokdbz" wrote:

I need to know how to open a new workbook and then rename the workbook?


--

Dave Peterson
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
rename a group of spreadsheets in a workbook bob Excel Discussion (Misc queries) 1 October 2nd 07 05:21 PM
Auto Rename Excel Sheets in Workbook Kulin Shah Excel Worksheet Functions 12 December 25th 06 03:27 PM
Copying A Worksheet From Each Open Workbook to an new Workbook carl Excel Worksheet Functions 1 January 3rd 06 05:37 PM
my colors change in my workbook when I open another workbook Jeff Excel Discussion (Misc queries) 0 December 29th 05 06:36 PM
Importing Data from unopened Workbook into an open Workbook GrayesGhost Excel Discussion (Misc queries) 0 March 5th 05 11:25 PM


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