Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-17-2013, 10:37 PM
fumei fumei is offline Renaming Word Formfields: string too long error Windows 7 64bit Renaming Word Formfields: string too long error Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

1. " the form design was shoddy and the fields were not properly bookmarked"
I'll say. I suspect the formfields were copied. Do not do that! Although it could be it was not you who did it. Copied formfields do NOT copy bookmarks (the names).

2. yes, it is a known problem (and a stupid one at that).

3. the suggested solution at MVPS does work for you. It just needs to be adjusted. The key is that you action against the Range.Fields(index). So...

change (for the text formfields):
oFrmFlds(pIndex).Result = oVar

to:
oFrmFlds(pIndex).Range.Fields(1).Result.Text = oVar
Reply With Quote
 

Tags
"string too long", word formfield



Similar Threads
Thread Thread Starter Forum Replies Last Post
Renaming Book Marks in Microsoft Word (2007) cheondee Word 0 03-04-2011 10:36 PM
Rules for when a long word should be split pjl9 Word 1 09-28-2010 07:07 AM
inserting a string of data into an MS Word table??? matto Word VBA 0 07-16-2010 09:35 AM
Word :mac 2008 is crashing all day long... P. Alkuin Word 4 04-20-2010 10:47 PM
How much long auhtentic is a word document? plaszma Word 0 11-08-2009 09:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:30 PM.


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