Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba,microsoft.public.word.tables,microsoft.public.word.vba.general
external usenet poster
 
Posts: 21
Default Show actual name of file path after you have renamed it

Hi Hornbecky83,

The
single back slashes would not create a link with the table or allow me
to paste a table at all. Why does it matter if there are double back
slashes or not.

This is due to how Word was originally coded, back in the late 1980's.
It was written with C, and in the C-languages a single backslash is an
"Escape character". That means that whatever follows the backslash has a
special significance. You can see that with the switches in Word fields:
a switch is always preceded by a backslash to indicate it is a switch,
so Word should do something special, depending on the character
following the backslash.

In order to indicate that you want to use a backslash, it therefore
needs to be doubled. So paths in Word fields always require double
backslashes.

Or add double back slashes to my
privious arrayPath(i,j) method?

Sure you can double the backslashes. As long as you don't need to
support Word 97, the simplest way is with the Replace function. That
would look something like this

filePath = Replace(filePath, "\", "\\")

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get Office 2007 to show me the full path of a file? rob653 New Users to Excel 2 March 28th 07 06:37 PM
Show Path name for a file [email protected] Excel Discussion (Misc queries) 1 January 18th 07 11:22 PM
How to show file path in formual bar when linking workbooks? Mascot Excel Discussion (Misc queries) 2 September 12th 06 04:17 PM
show file path in Print footers Heather Excel Programming 3 April 2nd 05 01:26 AM
Link path not updating when renamed Ausrobbo Excel Discussion (Misc queries) 0 January 17th 05 09:21 AM


All times are GMT +1. The time now is 09:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"