Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2016, 01:46 PM
es35 es35 is offline Problem getting filename and directory of current word doc. Mac OS X Problem getting filename and directory of current word doc. Office for Mac 2011
Novice
 
Join Date: Aug 2016
Posts: 9
es35 is on a distinguished road
Default

Incredible that you need this much progamming to simply see the name of the file you are editing! There must be an easier way for the name to displayed.
Reply With Quote
  #2  
Old 10-28-2016, 03:40 PM
macropod's Avatar
macropod macropod is offline Problem getting filename and directory of current word doc. Windows 7 64bit Problem getting filename and directory of current word doc. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,341
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

Quote:
Originally Posted by es35 View Post
Incredible that you need this much progamming to simply see the name of the file you are editing! There must be an easier way for the name to displayed.
So, what's incredible about the need for a single line of code? VBA gives you the options of:
ActiveDocument.FullName - for the name & path
ActiveDocument.Name - for the name
ActiveDocument.Path - for the path
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-28-2016, 06:42 PM
es35 es35 is offline Problem getting filename and directory of current word doc. Mac OS X Problem getting filename and directory of current word doc. Office for Mac 2011
Novice
 
Join Date: Aug 2016
Posts: 9
es35 is on a distinguished road
Default siingle line of code?

what is the single of line of code and where does it go (how is is used?)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory Domain Services is unavailable problem October 2015 scottstone04 Office 0 10-15-2015 01:46 PM
Problem getting filename and directory of current word doc. Appending the filename with the current date sheeand Word VBA 2 05-14-2012 05:18 AM
Problem getting filename and directory of current word doc. How to insert current date into default filename ? czomberzdaniela Word 1 12-27-2011 07:18 PM
Problem getting filename and directory of current word doc. How to call current PC date and/or current PC year KIM SOLIS Excel 2 11-04-2011 06:09 PM
Problem getting filename and directory of current word doc. Auto insert current month's name and current year Styler001 Word 4 01-25-2010 06:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:03 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