Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

how do i obtain a file name from a cell contents and use it to sa.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Bond - 19 Jan 2006 21:14 GMT
I am trying to run a macro to save a file but want to obtain the filename
from the contents of a specific cell
Bob Phillips - 19 Jan 2006 21:19 GMT
   Activeworkbook.Saves fileName:= Range("A1").Value

Signature

HTH

Bob Phillips

(remove nothere from email address if mailing direct)

> I am trying to run a macro to save a file but want to obtain the filename
> from the contents of a specific cell
Gary Keramidas - 19 Jan 2006 22:03 GMT
i think bob has an inadvertent typo in is code

ActiveWorkbook.SaveAs Filename:=Range("A1").Value

Signature

Gary

>    Activeworkbook.Saves fileName:= Range("A1").Value
>
>> I am trying to run a macro to save a file but want to obtain the filename
>> from the contents of a specific cell
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.