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 / February 2006

Tip: Looking for answers? Try searching our database.

Saving file to specific directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sungen99 - 22 Feb 2006 13:49 GMT
I have the path of the directory I wish to save to located on Sheet
A1.

I know how to save a file directly but not how to get external dat
from another worksheet. This is what I know how to do.  Would someon
please tell me how to change it to do what I need.

Sub Done()

UserForm1.Show vbModeless
UserForm1.Repaint
ActiveWorkbook.Save
Unload UserForm1

ActiveWorkbook.Close SaveChanges:=False

End Su
Bob Phillips - 22 Feb 2006 14:01 GMT
Something like

ActiveWorkbook.SaveAs Worksheets("Sheet2").Range("A1") & activeworkbook.name

Signature

HTH

Bob Phillips

(remove nothere from email address if mailing direct)

> I have the path of the directory I wish to save to located on Sheet2
> A1.
[quoted text clipped - 13 lines]
>
> End Sub
 
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.