Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Word for Mac > CyberTaz & John...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 11 Topic 9806 of 11333
Post > Topic >>

CyberTaz & John, thanks for the info

by "Tony" <|toxendine@[EMAIL PROTECTED] |> May 7, 2008 at 09:26 AM

OK Guys, if I understand you correctly, verifying the version of Word the 
user has is the first step.  2004 Or earlier & I can make something work
by 
tweaking the code appropriately and compiling in Word 2000.  2008 And all 
bets are off.

Here's the code that's running; it's very simple but I have no idea how to

tweak it appropriately but will check out the Mac MVP site.  Any
suggestions 
are appreciated, of course...

There are a couple of fields, each of which I'd like to prepopulate when a

new doc is open, to generate 'unique' information to identify new docs as 
they come back to us.

//CODE START//

Private Sub Do***ent_New()
On Error GoTo Err_Do***ent_New

    ActiveDo***ent.FormFields("txtTestDate").Result = Format(Now(), 
"m/d/yy")
    ActiveDo***ent.Bookmarks("txtTestDate").Range.Fields(1).Locked = True

    ActiveDo***ent.FormFields("txtPoNumber").Result = "SKAR" &
Format(Now(), 
"HhNnSs")
    ActiveDo***ent.Bookmarks("txtPoNumber").Range.Fields(1).Locked = True

Exit_Do***ent_New:
    Exit Sub

Err_Do***ent_New:
    MsgBox Err.Description
    Resume Exit_Do***ent_New

End Sub

//CODE END//

Thanks for the feedback and assistance.  I appreciate the help.

Ciao,

Tony
 




 11 Posts in Topic:
Convert Macros for use with Mac?
"Tony" <|tox  2008-05-06 11:54:22 
Re: Convert Macros for use with Mac?
CyberTaz <onlygeneralt  2008-05-06 17:26:03 
Re: Convert Macros for use with Mac?
John McGhie <john@[EMA  2008-05-07 10:32:48 
Re: Convert Macros for use with Mac?
CyberTaz <onlygeneralt  2008-05-07 06:30:18 
Re: Convert Macros for use with Mac?
John McGhie <john@[EMA  2008-05-07 21:41:14 
Re: Convert Macros for use with Mac?
CyberTaz <onlygeneralt  2008-05-07 08:11:58 
Re: Convert Macros for use with Mac?
John McGhie <john@[EMA  2008-05-08 13:45:34 
CyberTaz & John, thanks for the info
"Tony" <|tox  2008-05-07 09:26:41 
Re: CyberTaz & John, thanks for the info
John McGhie <john@[EMA  2008-05-08 14:01:43 
Re: CyberTaz & John, thanks for the info
"Tony" <|tox  2008-05-08 10:39:12 
Re: CyberTaz & John, thanks for the info
"Tony" <|tox  2008-05-08 10:40:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 16:52:29 CDT 2008.