Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-27-2016, 04:21 AM
ArtKilp ArtKilp is offline Named text field in Word document Windows 8 Named text field in Word document Office 2016
Novice
Named text field in Word document
 
Join Date: Jan 2016
Posts: 18
ArtKilp is on a distinguished road
Default Named text field in Word document

In Excel I can say =A1 to read whatever there is in cell A1 and if I want to name it, I just type a name in the Name Box. I'd want the same thing for Word, what is the preferred approach?



That is, I want to have an array of copies of a document which I first programmatically generate so that each one has a name (one of those named text fields) and an address (another of those fields). Then when people have filled in the address and I have all the similar documents somewhere, I want to read programmatically all of those addresses and save them somewhere (where, that is out of subject, assume a VBA array for example).

Some options I have considered are ActiveX controls and Word fields. Word fields would be preferred, but they seem to be working vice versa - Word fills automatically stuff in the field instead of you telling Word that "list me the content of fields named 'name' and 'address'". So, when I say mygivendocument.namedfield("address").content (or whatever the syntax would be), I get the content of that address field just like that.

Another limitation is that I want to create those fields without using VBA code - that is, I can create the business logic by VBA, but I want to assign a non-programmer user to create those fields (because he will create the document "decorations" as well).

So what would the best approach be?
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named text field in Word document duplicating field values in a word document howarths Word 5 11-05-2015 11:50 AM
Named text field in Word document Changing Field Links in a Word Document from one excel file to another Fed77 Word VBA 9 07-08-2015 02:24 AM
Need a Macro to go to column named price and ADD 16% to each field okief1122 Excel Programming 4 09-06-2014 10:59 PM
Named text field in Word document Inserting text field into word document BeataG Word VBA 2 01-03-2014 12:56 AM
Dynamic Named Ranges using text hannu Excel 0 06-22-2010 04:42 PM

Other Forums: Access Forums

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