Allow user to add image

J

Jedi.thumper

Hi

Would like to create a template where the user just double clicks a
picture or frame this then opens a dialog that allows the user to
insert or replace with a picture from a file.

What is the easiest way to do this?

thanks

Alan
 
J

Jonathan West

Hi

Would like to create a template where the user just double clicks a
picture or frame this then opens a dialog that allows the user to
insert or replace with a picture from a file.

What is the easiest way to do this?

thanks

Alan

Make the frame a textbox, and include a MACROBUTTON field in the textbox.
Double-clicking on the MACROBUTTON field calls your macro. It is for you to
set the macro so that the user can browse to and select a picture, and then
for the picture to be inserted at the same location as the textbox is is
replacing. You will have all sorts of decisions to make about what to do if
the picture is not the same shape & size as the textbox it is replacing.
 
F

fumei via OfficeKB.com

"You will have all sorts of decisions to make about what to do if
the picture is not the same shape & size as the textbox it is replacing."

LOL!

Jonathan said:
[quoted text clipped - 7 lines]

Make the frame a textbox, and include a MACROBUTTON field in the textbox.
Double-clicking on the MACROBUTTON field calls your macro. It is for you to
set the macro so that the user can browse to and select a picture, and then
for the picture to be inserted at the same location as the textbox is is
replacing. You will have all sorts of decisions to make about what to do if
the picture is not the same shape & size as the textbox it is replacing.
 
S

Sam Hobbs

Yes, programming can be difficult when developers use an easy solution
because they can't get the appropriate solution to work.

I do not know enough about Word and Word programming to know if it is
possible to use an Image control, but that appears to be an appropriate
solution and is likely to make things easier. It might be more difficult to
get all the pieces figure out about how to do it but once it is understood
my guess is that an Image control will be easier.


fumei via OfficeKB.com said:
"You will have all sorts of decisions to make about what to do if
the picture is not the same shape & size as the textbox it is replacing."

LOL!

Jonathan said:
[quoted text clipped - 7 lines]

Make the frame a textbox, and include a MACROBUTTON field in the textbox.
Double-clicking on the MACROBUTTON field calls your macro. It is for you
to
set the macro so that the user can browse to and select a picture, and
then
for the picture to be inserted at the same location as the textbox is is
replacing. You will have all sorts of decisions to make about what to do
if
the picture is not the same shape & size as the textbox it is replacing.
 

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