Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
zSplash
 
Posts: n/a
Default Using VBA code w/i Field

Is there any way to use VBA code in a Fillin-field or If-field? That is,
say I want to test the left 3 characters of a string, and based on that, do
something?

Example: If-field:
If dbValue="12345" doA doB

What I want to do:
If Left(dbValue,3)="123" doA doB

TIA



 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 Field code within a field code Cheryl Mailmerge 2 November 25th 05 08:31 AM
Print field code shading Jules Microsoft Word Help 0 October 11th 05 06:29 AM
How do I replace one character with another in the field code resu AWordInNeed Mailmerge 1 August 30th 05 08:14 PM
How do I replace 1 character with another in field code results? AWordInNeed Microsoft Word Help 4 August 29th 05 11:19 PM
How do I use the PRINT field code to ... Dave Microsoft Word Help 3 December 13th 04 03:06 PM


All times are GMT +1. The time now is 11:57 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"