Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-18-2011, 11:35 PM
macropod's Avatar
macropod macropod is offline Relative path to desktop Windows 7 32bit Relative path to desktop Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,366
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

For the 'My Documents' folder, you should be able to replace "\Desktop" with "\My Documents".

For the current document, it's:
MsgBox ActiveDocument.Path
(for a new unsaved document this will be empty)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Relative path to desktop Instant Search syntax for relative dates eagleeye Outlook 1 05-16-2011 03:58 PM
Relative path to desktop Saving to Desktop from MSWord greeninmexico Word 1 01-05-2011 08:30 PM
Cross reference - full vs relative context macron Word VBA 0 12-02-2010 08:54 PM
Relative path to desktop CHALLENGE! Issue sorting data containing relative references on a separate tab lax828 Excel 3 01-07-2010 11:28 AM
attaching (relative,logical or virtual) path to template word document wissam Mail Merge 0 08-04-2009 05:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft