Is there a way I can access the menu options (File, Edit, View,
Insert, Format etc.) via vba code?

All help is appreciated.

Re: Code to access the menu options... by Jean-Guy

Jean-Guy
Tue Feb 13 16:43:22 CST 2007

rachitm@gmail.com was telling us:
rachitm@gmail.com nous racontait que :

> Is there a way I can access the menu options (File, Edit, View,
> Insert, Format etc.) via vba code?
>
> All help is appreciated.

What are you trying to do?

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org



RE: Code to access the menu options... by reneemi

reneemi
Tue Feb 13 18:20:10 CST 2007

Try the Commandbars object. (assuming you are in Word 2003 or earlier)
--
-----------------------------------------
This posting is provided "as is" with no warranties, and confers no rights.



Re: Code to access the menu options... by rachitm

rachitm
Thu Feb 15 12:16:56 CST 2007

I want to create a button when when pressed will automatically change
the arrow to an ink annotation so that people can sign the document,

The ink annotation option is on the insert menu....

does that help?


On Feb 13, 7:20 pm, Renee [MSFT] <rene...@donotspam.microsoft.com>
wrote:
> Try the Commandbars object. (assuming you are in Word 2003 or earlier)
> --
> -----------------------------------------
> This posting is provided "as is" with no warranties, and confers no rights.



Re: Code to access the menu options... by Jean-Guy

Jean-Guy
Thu Feb 15 14:06:04 CST 2007

rachitm@gmail.com was telling us:
rachitm@gmail.com nous racontait que :

> I want to create a button when when pressed will automatically change
> the arrow to an ink annotation so that people can sign the document,
>
> The ink annotation option is on the insert menu....
>
> does that help?

Not sure... Why can't you use Word's built-in Ink Annotation button?

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org



Re: Code to access the menu options... by rachitm

rachitm
Thu Feb 15 15:28:33 CST 2007

the document is protected. so what I want is when the user clicks the
"Please Sign here" button, it un-protects the document and changes the
arrow to an ink annotation (just so that it is easier for the user and
he doesnt have to search for the annotation link on the menu). as soon
as the reader signs, he clicks on another button which reads "Please
click when done" and that protects the document again.



On Feb 15, 3:06 pm, "Jean-Guy Marcil" <DontEvenTry@NoSpam> wrote:
> rach...@gmail.com was telling us:
> rach...@gmail.com nous racontait que :
>
> > I want to create a button when when pressed will automatically change
> > the arrow to an ink annotation so that people can sign the document,
>
> > The ink annotation option is on the insert menu....
>
> > does that help?
>
> Not sure... Why can't you use Word's built-in Ink Annotation button?
>
> --
>
> Salut!
> _______________________________________
> Jean-Guy Marcil - Word MVP
> jmarcilREM...@CAPSsympatico.caTHISTOO
> Word MVP site:http://www.word.mvps.org



Re: Code to access the menu options... by Jean-Guy

Jean-Guy
Thu Feb 15 17:56:48 CST 2007

rachitm@gmail.com was telling us:
rachitm@gmail.com nous racontait que :

> the document is protected. so what I want is when the user clicks the
> "Please Sign here" button, it un-protects the document and changes the
> arrow to an ink annotation (just so that it is easier for the user and
> he doesnt have to search for the annotation link on the menu). as soon
> as the reader signs, he clicks on another button which reads "Please
> click when done" and that protects the document again.

I have never used Ink Annotations...

However, I have found this command:

WordBasic.InsertInkAnnotations

I guess you could use it in your code.


By the way, asking the user to Re-protect the document once the signing is
done is asking for trouble... someone will forget and throw the document out
of whack and they will call you because they will claim it is your fault!
I thought it as possible to use Ink Annotations on top of a protected
document... but I have never worked with a Tablet PC so I am not sure about
this.

Ink Annotations are normally used on a Tablet PC, and as I have mentioned
above I have never used such a device.. So I cannot help any more than
that... Sorry.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org