With a macro contained in an Add-In template, can I reference the Add-In
itself, write text onto the template document and retrieve the text?

Ed

Re: Write text to and retrieve from Add-In? by Doug

Doug
Thu Mar 30 14:05:54 CST 2006

I would not think so.

Check out the use of the System.PrivateProfileString

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
news:%23Q7CU0AVGHA.4452@TK2MSFTNGP12.phx.gbl...
> With a macro contained in an Add-In template, can I reference the Add-In
> itself, write text onto the template document and retrieve the text?
>
> Ed
>



Re: Write text to and retrieve from Add-In? by Ed

Ed
Thu Mar 30 15:00:30 CST 2006

Well, I had the bright idea that I could write all the instructions and help
info into the document face of the add-in template for easy retrieval if the
user requested it. Maybe put it all in a table, and if the user clicked the
Help button on the form it would know to get the text of row 1, col 2 and
display. Not workable?

Ed

"Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
news:%23yaYeVDVGHA.1236@TK2MSFTNGP11.phx.gbl...
>I would not think so.
>
> Check out the use of the System.PrivateProfileString
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
> news:%23Q7CU0AVGHA.4452@TK2MSFTNGP12.phx.gbl...
>> With a macro contained in an Add-In template, can I reference the Add-In
>> itself, write text onto the template document and retrieve the text?
>>
>> Ed
>>
>
>



Re: Write text to and retrieve from Add-In? by Doug

Doug
Thu Mar 30 21:58:11 CST 2006

I don't really know, but you could try it. You could however have all the
help and instructions in a separate file that was opened by clicking on the
button.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
news:uWA27zDVGHA.5172@TK2MSFTNGP12.phx.gbl...
> Well, I had the bright idea that I could write all the instructions and
> help info into the document face of the add-in template for easy retrieval
> if the user requested it. Maybe put it all in a table, and if the user
> clicked the Help button on the form it would know to get the text of row
> 1, col 2 and display. Not workable?
>
> Ed
>
> "Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
> news:%23yaYeVDVGHA.1236@TK2MSFTNGP11.phx.gbl...
>>I would not think so.
>>
>> Check out the use of the System.PrivateProfileString
>>
>> --
>> Hope this helps.
>>
>> Please reply to the newsgroup unless you wish to avail yourself of my
>> services on a paid consulting basis.
>>
>> Doug Robbins - Word MVP
>>
>> "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
>> news:%23Q7CU0AVGHA.4452@TK2MSFTNGP12.phx.gbl...
>>> With a macro contained in an Add-In template, can I reference the Add-In
>>> itself, write text onto the template document and retrieve the text?
>>>
>>> Ed
>>>
>>
>>
>
>



Re: Write text to and retrieve from Add-In? by Tony

Tony
Fri Mar 31 05:46:43 CST 2006

No, it's not workable.

The document body of a global template / Addin is not loaded. So you can't
use it.

--
Enjoy,
Tony

"Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
news:uWA27zDVGHA.5172@TK2MSFTNGP12.phx.gbl...
> Well, I had the bright idea that I could write all the instructions and
help
> info into the document face of the add-in template for easy retrieval if
the
> user requested it. Maybe put it all in a table, and if the user clicked
the
> Help button on the form it would know to get the text of row 1, col 2 and
> display. Not workable?
>
> Ed
>
> "Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
> news:%23yaYeVDVGHA.1236@TK2MSFTNGP11.phx.gbl...
> >I would not think so.
> >
> > Check out the use of the System.PrivateProfileString
> >
> > --
> > Hope this helps.
> >
> > Please reply to the newsgroup unless you wish to avail yourself of my
> > services on a paid consulting basis.
> >
> > Doug Robbins - Word MVP
> >
> > "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
> > news:%23Q7CU0AVGHA.4452@TK2MSFTNGP12.phx.gbl...
> >> With a macro contained in an Add-In template, can I reference the
Add-In
> >> itself, write text onto the template document and retrieve the text?
> >>
> >> Ed
> >>
> >
> >
>
>



Re: Write text to and retrieve from Add-In? by Ed

Ed
Mon Apr 03 10:44:57 CDT 2006

Thanks, Tony. Time for Plan B.
Ed

"Tony Jollans" <My Forename at My Surname dot com> wrote in message
news:O$vLhjLVGHA.776@TK2MSFTNGP09.phx.gbl...
> No, it's not workable.
>
> The document body of a global template / Addin is not loaded. So you can't
> use it.
>
> --
> Enjoy,
> Tony
>
> "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
> news:uWA27zDVGHA.5172@TK2MSFTNGP12.phx.gbl...
>> Well, I had the bright idea that I could write all the instructions and
> help
>> info into the document face of the add-in template for easy retrieval if
> the
>> user requested it. Maybe put it all in a table, and if the user clicked
> the
>> Help button on the form it would know to get the text of row 1, col 2 and
>> display. Not workable?
>>
>> Ed
>>
>> "Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
>> news:%23yaYeVDVGHA.1236@TK2MSFTNGP11.phx.gbl...
>> >I would not think so.
>> >
>> > Check out the use of the System.PrivateProfileString
>> >
>> > --
>> > Hope this helps.
>> >
>> > Please reply to the newsgroup unless you wish to avail yourself of my
>> > services on a paid consulting basis.
>> >
>> > Doug Robbins - Word MVP
>> >
>> > "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
>> > news:%23Q7CU0AVGHA.4452@TK2MSFTNGP12.phx.gbl...
>> >> With a macro contained in an Add-In template, can I reference the
> Add-In
>> >> itself, write text onto the template document and retrieve the text?
>> >>
>> >> Ed
>> >>
>> >
>> >
>>
>>
>
>



Re: Write text to and retrieve from Add-In? by Ed

Ed
Mon Apr 03 10:48:27 CDT 2006

Thanks for replying, Doug. I was trying to get away from a separate
document - with some of these people, I'll have enough trouble with a
self-loading Add-in getting in to the right place. Now the code has to try
to find a second document in the right place? That might be asking a lot!

Ed

"Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
news:%230KuYdHVGHA.4660@tk2msftngp13.phx.gbl...
>I don't really know, but you could try it. You could however have all the
>help and instructions in a separate file that was opened by clicking on the
>button.
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
> news:uWA27zDVGHA.5172@TK2MSFTNGP12.phx.gbl...
>> Well, I had the bright idea that I could write all the instructions and
>> help info into the document face of the add-in template for easy
>> retrieval if the user requested it. Maybe put it all in a table, and if
>> the user clicked the Help button on the form it would know to get the
>> text of row 1, col 2 and display. Not workable?
>>
>> Ed
>>
>> "Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
>> news:%23yaYeVDVGHA.1236@TK2MSFTNGP11.phx.gbl...
>>>I would not think so.
>>>
>>> Check out the use of the System.PrivateProfileString
>>>
>>> --
>>> Hope this helps.
>>>
>>> Please reply to the newsgroup unless you wish to avail yourself of my
>>> services on a paid consulting basis.
>>>
>>> Doug Robbins - Word MVP
>>>
>>> "Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
>>> news:%23Q7CU0AVGHA.4452@TK2MSFTNGP12.phx.gbl...
>>>> With a macro contained in an Add-In template, can I reference the
>>>> Add-In itself, write text onto the template document and retrieve the
>>>> text?
>>>>
>>>> Ed
>>>>
>>>
>>>
>>
>>
>
>