Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Addition of Tip / Caution / Hints boxes? 1

Status
Not open for further replies.

gbaughma

IS-IT--Management
Staff member
Nov 21, 2003
4,769
11
38
58
US
Is anyone aware of an add-in or macro (or maybe it already exists) that would let me click on a button and insert something like the attached files?

I'm doing a huge documentation project, and the boss likes the "tip" and "caution" boxes that he saw on another document. Is there an easy way to do this in word?



Just my 2ó

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
 http://files.engineering.com/getfile.aspx?folder=016f4221-a280-4e11-a9de-e787900f6cb4&file=TIp.PNG
  • Thread starter
  • Moderator
  • #2
It didn't like me using the engineering.com upload.... so hopefully you can see the images now.

TIp_zzlggb.png

Caution_uzytmq.png


Just my 2ó

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
I have attached InsertImages.docx file that uses menu button to insert your images into Word document.

Within the file is a screen shot how to assign menu button to the vb code.

This is just guessing at what you were looking for.


 
 http://files.engineering.com/getfile.aspx?folder=4bff718c-628b-48d5-ae3a-d4de58d1786a&file=InsertImages.docx
  • Thread starter
  • Moderator
  • #4
Thank you for the response! Yeah... that's on the lines of what I was looking for.
What would REALLY be the cat's meow is if I had a button that would insert a text box with the graphic, so I could just "Insert tip" and then type in the box what the tip is.
It has been a while since I've had to deal with Word macros. :D


Just my 2ó

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
As far as Word macros, and Word in general, I generally "try to get as far away from those things as you can...."

How many different tip graphics would you need?

Right now you have two.
 
Greg

Did more work with this problem, after I realized the previous document did not contain the needed code.

The attached document 'InsertMultipleImages.docm' will select up to 9 different images based on a prompt tied to a menu button.

Within the document are also instructions how to create the menu button and modify the code.

Enjoy
 
 http://files.engineering.com/getfile.aspx?folder=a471f2e7-c342-4219-ae5a-2b861abd417d&file=InsertMultipleImages.docm
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top