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 / Word / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Save Selection with VBA?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Summer - 13 Jan 2008 04:49 GMT
Hi, can someone tell me if there is a Save Selection VBA (whatever is highlighted) and Save As give doc name way to do this? One can print selection but can one save selection with VBA? Many thanks...
Tony Jollans - 13 Jan 2008 09:05 GMT
Something like this perhaps (untried) ..

Selectin.copy
with documents.add
   .Range.Paste
   .Save
   .Close false
End With

Signature

Enjoy,
Tony

 Hi, can someone tell me if there is a Save Selection VBA (whatever is highlighted) and Save As give doc name way to do this? One can print selection but can one save selection with VBA? Many thanks...
 
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.