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: 1
Default how to find find last file name and increment - XL2000

XL2000

Hi All,

I have a macro that uses a range for a filename and then saves the workbook
under that name.

What I want to do now:

1) locate the last file name in a particular folder
2) increment by +1 the numeric part of the file name (format is XXXX 9999
XXXXXXXXXXX - where X are letters and 9 is the numeric part)
3) Discard the 2nd text part
4) display the result in a cell so I can use the original saveAs macro with
it.

MTIA

DS
 
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
what is the formula to find increment ? chandra1961 Excel Discussion (Misc queries) 3 June 28th 09 05:58 PM
How can I find a file that I save but can't seem to find Marge[_2_] Excel Discussion (Misc queries) 11 January 25th 09 06:27 PM
cell size and find increment jimbo_jones[_6_] Excel Programming 3 September 21st 05 02:07 PM
clicking .XLS file opens Excel 2003 but doesn't find the file Arrow Computer Excel Discussion (Misc queries) 2 August 10th 05 03:51 AM
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? nwtrader8 Excel Discussion (Misc queries) 5 June 21st 05 02:16 PM


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