Creating Macro with a onlin Word Form 
Author Message
 Creating Macro with a onlin Word Form

I need help in creating a Word online form.

1st problem is can I create a  hyperlink that will take
the current document and send and email attachement to a
specific address.

2nd problem - I have a create date on my form and I want
the due date to be 5 days from the create date.

I'm using this sample but it only gives me the display of
the date.

'Function Main() As Boolean
Dim Today
Today = Now + 5
MsgBox Today

Can anyone help with the above two situations.

Thanks~



Sat, 31 Jul 2004 05:33:32 GMT  
 Creating Macro with a onlin Word Form
Hi Map,

Quote:
> 1st problem is can I create a  hyperlink that will take
> the current document and send and email attachement to a
> specific address.

You need to use a MACROBUTTON field (instead of a
hyperlink) to execute your code, or create a toolbar
button.

Quote:
> 2nd problem - I have a create date on my form and I want
> the due date to be 5 days from the create date.

Insert a bookmark in your document/template at the position
where the date should be inserted.

Dim Today
Today = Now + 5
ActiveDocument.Bookmarks("TheName").Range.Text = Today

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)



Sat, 31 Jul 2004 18:41:09 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. I need vc ide macro help, trying to create a move to end of word macro

2. Creating word Macro to copy text and create new files from existing one

3. Word 97 Macros > Word XP Macros

4. Create a Macro in word template from visual basic

5. Create a Macro in word template from visual basic

6. Rename/create folder from Word macro?

7. How do I create macros in word 2002?

8. Creating a macro in Word XP

9. How to create Footer with Macro in Word

10. Create a Macro in word template from visual basic

11. macro created in Word 2002 does not record font change

12. Problems in Word XP with Macro Created in 97

 

 
Powered by phpBB® Forum Software