Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default creating FormFields

Can someone give me the script to create a form field? It seems like it would
be simple, but the script I got from the microsoft site keeps giving me a
'Runtime error 424, object required' I'm using the script from microsoft,

Set ffield = ActiveDocument.FormFields.Add( _
Range:=ActiveDocument.Range(Start:=0, End:=0), _
Type:=wdFieldFormTextInput)
ffield.Name = "FirstName"

Any input would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default creating FormFields

This looks like it might be a Word macro. You might try a Word newsgroup if
so.

--
Jim Rech
Excel MVP

"ben_the_script_newbie"
wrote in message ...
| Can someone give me the script to create a form field? It seems like it
would
| be simple, but the script I got from the microsoft site keeps giving me a
| 'Runtime error 424, object required' I'm using the script from microsoft,
|
| Set ffield = ActiveDocument.FormFields.Add( _
| Range:=ActiveDocument.Range(Start:=0, End:=0), _
| Type:=wdFieldFormTextInput)
| ffield.Name = "FirstName"
|
| Any input would be appreciated.


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
creating Yes,No Amin Excel Discussion (Misc queries) 3 November 8th 08 10:02 PM
creating a pdf Andrew R Excel Discussion (Misc queries) 4 September 19th 06 08:21 PM
Creating a Sum Kevin Sprinkel Excel Programming 0 June 4th 04 08:41 PM
Creating COM add-in Jens Thiel[_2_] Excel Programming 0 May 28th 04 06:30 PM
Creating add-ins jomni[_2_] Excel Programming 2 April 1st 04 04:01 AM


All times are GMT +1. The time now is 12:09 PM.

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"