Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2021, 03:19 PM
Endeavor Endeavor is offline If-Then Field Bug in newer versions of Word? Windows 7 64bit If-Then Field Bug in newer versions of Word? Office 97-2003
Novice
If-Then Field Bug in newer versions of Word?
 
Join Date: Jun 2021
Posts: 1
Endeavor is on a distinguished road
Default If-Then Field Bug in newer versions of Word?

Hi everyone,



If i use a field that looks like this:

{ IF "A" = "A" "{INCLUDETEXT "{FILENAME \p }\\..\\00data\\00DataFile.doc" BookmarkName \!}" "No." }

In MS Word 2002, it works just fine. BookmarkName is taken from the 00data\00DataFile.doc and displayed in the appropriate place.

But, if I use it in newer version of MS Word (including the latest version), I get an error message:

"Error! Cannot open file."

What's weird is that the part that is failing, e.g.,

{INCLUDETEXT "{FILENAME \p }\\..\\00data\\00DataFile.doc" BookmarkName \!}

works just fine if it is a standalone field in all versions of Word. It even works just fine if I use it as expression1 or expression2 in the IF field. It only doesn't work if I use it as the truetext or the falsetext in the IF field, and then only in the newer versions of MS Word.

Can anyone give me any suggestions as to why this isn't working, and any work around that I might try to achieve the same result?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
If-Then Field Bug in newer versions of Word? cant print from older word docs in newer office?? dougal` Word 3 11-17-2015 03:15 PM
Custom icon storage location in Word 2007 and newer Boatwrenchv8 Word VBA 0 09-20-2013 06:42 PM
If-Then Field Bug in newer versions of Word? File created in newer version anderson Project 1 06-22-2011 02:15 AM
If-Then Field Bug in newer versions of Word? The mail profile outlook was created with a newer version lancerocke Outlook 1 06-02-2011 07:47 PM
2 versions of word Jonathan Office 0 01-09-2009 03:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:54 PM.


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