Using a macro to insert a clipart object into a word template

G

Guest

Hope someone can helpout

I'm trying to use a macro to insert a clipart object into a template facsimile masthead, and really haven't got much of an idea how to do it

1) I need to save the clipart image onto a floppy; and
2) Write the appropriate macro code to insert this clipart image into the appropriate cell in a table on the fax masthead

Any help will be greatly appreciated. Thanks.
 
D

Doug Robbins - Word MVP

Instead of trying to do this on the fly, you should create a template with a
header in it that contains the clipard object.

You should also forget about saving things to a floppy. Copy them there if
you must, but do NOT save directly to a floppy.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
P. Eccles said:
Hope someone can helpout.

I'm trying to use a macro to insert a clipart object into a template
facsimile masthead, and really haven't got much of an idea how to do it.
1) I need to save the clipart image onto a floppy; and,
2) Write the appropriate macro code to insert this clipart image into the
appropriate cell in a table on the fax masthead.
 
D

Doug Robbins - Word MVP

Create an autonew macro containing the following command:

ActiveDocument.RemovePersonalInformation = True


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
tenacity said:
Remove personal information from this file on save.

there is this new feature which will remove your name, etc. from file-properties, etc.

on my version of word xp, the relevant box (under Tools-Options-Security)
does NOT remain checked from document to document.
is there any way of making this check box permanent so that this setting
remains clicked ON for each document rather than having to remember to check
it for each new doc. if there is no way to make this permanent (until
clicked off), then this new feature is no better than the old method of
having to remember to look into file-properties and removing unwanted the
info before saving.
 
G

Guest

hi dou

tx for the input which sounds right on. please excuse the ignorance, but can you please give a step by step to create amd run the autonew macro. could not find this or anything related in word help. as clear as possible please. tx and brgds.
 
D

Doug Robbins - Word MVP

From the File menu, select New, select the Blank document item and check the
New Template button. When the document/template appears on the screen, from
the Tools menu, select Macro and then Macros. In the Macros dialog, select
your document/template from the Macros in: pull down and enter Autonew in
the Macro name: control and then click on Create. The VisualBasic editor
will open and in between

Sub Autonew() and End Sub, enter the line of code that I gave you so that
you have

Sub Autonew()

ActiveDocument.RemovePersonalInformation = True

End Sub

Switch back to Word and save the document/template into the Word Startup
directory (check for the location under Tools>Options>File Locations.

Now after you restart Word, that macro will run whenever you create a new
document.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
tenacity said:
hi doug

tx for the input which sounds right on. please excuse the ignorance, but
can you please give a step by step to create amd run the autonew macro.
could not find this or anything related in word help. as clear as possible
please. tx and brgds.
 

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