Solved

Copy one field to the next in Microsoft Word

Posted on 2007-03-29
1
145 Views
Last Modified: 2010-04-30
If I have two text fields in Word.  I am trying to copy one text form field to the other using the following macro with no success:

With ActiveDocument
.FormFields("Text3").Result = .FormFields("Text55").Result
End With

Any ideas?
0
Comment
Question by:al4629740
1 Comment
 
LVL 14

Accepted Solution

by:
Glenn_Moore earned 500 total points
ID: 18819202
Could you have the fields in the wrong order?
FormFields("Text55").Result = .FormFields("Text3").Result
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now