View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
NickMinUK NickMinUK is offline
external usenet poster
 
Posts: 1
Default Save as using cell content in file name

Can someone help with code that changes the "save As" file name to
combination of the original File Name + the contents of a cell, an
saves file in same folder as the original.

E.G. Original File Name= Timesheet
Cells B1= Location
Cell C1 = Date in format 3-5-2004
Cell A1 = concatenate(B1,C1)

Fle Name will therefore "Timesheet Location 3-5-2004"

The other problem is with the date. When concatenating, how do I forma
the date to avoid it looking like "Location 38051"

Any help much appreciated

Nic

--
Message posted from http://www.ExcelForum.com