Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

Dealing with Fields in VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Microsoft - 31 May 2005 03:43 GMT
I want to do a snippet of code which:

1.    Will determine whether a specific named field exists.
2.    If the field exists, will assign a new value to it.
3.    Will update all fields.
Anand.V.V.N - 31 May 2005 05:41 GMT
Hi,
Just one doubt though is this field user specified or a constant field?

Anand
Signature

"Who will guard the guards?"

> I want to do a snippet of code which:
>
> 1.    Will determine whether a specific named field exists.
> 2.    If the field exists, will assign a new value to it.
> 3.    Will update all fields.
Microsoft - 31 May 2005 10:32 GMT
Its a user specified field.

> Hi,
> Just one doubt though is this field user specified or a constant field?
[quoted text clipped - 8 lines]
> > 2.    If the field exists, will assign a new value to it.
> > 3.    Will update all fields.
Anand.V.V.N - 01 Jun 2005 11:10 GMT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd11/html/wo
proCount1_HV03081721.asp


Check the baove link, I guess using the example of the usign the count
property, you can modify the code suit your needs.

Hope thsi was helpful

Anand
Signature

"Who will guard the guards?"

> Its a user specified field.
>
[quoted text clipped - 10 lines]
> > > 2.    If the field exists, will assign a new value to it.
> > > 3.    Will update all fields.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.