LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Name Increment on Open

I am opening a workbook using the following code:

Set wb = Workbooks.Open(strFullFileName, 0, False, , , , True)

where strFullFileName is the full path and filename of a workbook. When the
workbook opens, its name has an incremental suffix such as MyWorkbook12 if it
is the 12th time the MyWorkbook file was opened. Unfortunately, this
incremented name is what is used when the workbook is saved using a wb.save
statement, causing multiple copies of the workbook to be created.

What is causing this behavior? I suppose that there are cases where this
behavior was desirable, but I need to open and resave the workbook with its
original name.

TIA for any help,

TK


 
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
Increment Maria Excel Worksheet Functions 4 November 9th 07 12:10 AM
Automatically increment numbers in a cell when you open workbook mrcall Excel Discussion (Misc queries) 2 March 3rd 07 10:26 PM
increment a value by 1 Workshops New Users to Excel 3 March 4th 06 11:06 PM
Increment/Increment letter in alphabetical order Neil Goldwasser Excel Programming 3 January 25th 06 09:07 AM
how to auto increment a number each time i open the worksheet fred rondak Excel Worksheet Functions 1 June 25th 05 11:40 PM


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