Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Reverse naming of file

Hi,

I'm copying data relating to an engineered part into a sheet.
The format is constant and the name of the client and part appear in
specified cells. Is it possible now to rename the xls file as
(constant+ partname)? I mean automatically, not cutting and pasting.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 457
Default Reverse naming of file

Via macro, you could do something like this (modify to suit)

Sub ReName()
xConstant = Range("A2")
xPartName = Range("B2")

ThisWorkbook.SaveAs xConstant & xPartName
End Sub

--
Best Regards,

Luke M
"kenppy" wrote in message
om...
Hi,

I'm copying data relating to an engineered part into a sheet.
The format is constant and the name of the client and part appear in
specified cells. Is it possible now to rename the xls file as
(constant+ partname)? I mean automatically, not cutting and pasting.

thanks



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
Auto file naming Jacquesvv Excel Discussion (Misc queries) 1 June 23rd 09 02:57 PM
Importing Word file and Naming of Worksheets James8309 Excel Worksheet Functions 0 May 22nd 08 07:51 AM
Can I reverse a saved file to the previous file in Excel? highlandmom Excel Discussion (Misc queries) 5 August 28th 07 04:10 PM
File naming conventions gidget Excel Discussion (Misc queries) 7 November 15th 05 02:15 PM
naming .xls file based on a cell in excel lsu-i-like Excel Discussion (Misc queries) 1 June 24th 05 09:44 PM


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