Write text to and retrieve from Add-In?

E

Ed

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
 
D

Doug Robbins - Word MVP

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
 
E

Ed

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
 
D

Doug Robbins - Word MVP

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
 
T

Tony Jollans

No, it's not workable.

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

Ed

Thanks, Tony. Time for Plan B.
Ed

Tony Jollans said:
No, it's not workable.

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

Ed

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top