Textbox displays contents of text file

R

Ronio

Need a little help.
What is the best way to have a Static Textbox that would dynamically display
the contents of a text file.

I have a template that I want to roll out that would have a "informational"
box.
The informational box would display the contents of a text file that is
updated nightly by a unix script.

So when somebody opens the template, I would use the On Open Event to update
the Text box. Not sure the best way to get the text into the textbox.

Thanks In Advance,
Ron
 
M

Mark Nelson [MS]

Hi Ron,

You can either directly set the Text property of a shape or you can set up a
text field that displays a custom property and then update the property. In
your case I would probably set the Text property directly. You basically
need to put some ID in the shape so that you know what it is supposed the
represent - perhaps by adding a User-defined cell. Then you can iterate
through the shapes on the page, check their ID and assign the latest text.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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