Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Field

Status
Not open for further replies.

rookery

Programmer
Apr 4, 2002
384
GB
Any ideas why the following code results in a "Named Argument Not Found" error:

With .Fields
WordApp.Selection.TypeParagraph
'.Add Range:=WordApp.Selection.Range, Type:=wdFieldDate

This is in relation to the "Type" argument. It appears to be there in the reference to this topic in Online Help.
 
Quote: "A Fields collection contains all stored Field objects of an Index, QueryDef, Recordset, Relation, or TableDef object."

Microsoft Access 97 Help (Fields Property)

What are you using the With .Fields operator with?


HTH

Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top