PDA

View Full Version : Solved: move macro button



Pete
09-19-2008, 04:38 AM
See attached word document
Hi

How would i move the macro button special print, from the tool bar to the word document underenath the text.....


Click the ?Special Print Macro? button on the tool bar to print all reports in the CPO pack Parts 1 and 2.

lucas
09-19-2008, 09:47 AM
since the doc appears to be created from a template(see the reference in your doc): PrintLatestCPOReports.dot

I don't see a button or a toolbar.

Pete
09-22-2008, 01:36 AM
Note if the macro button is not visible on the Toolbar then you might have to do the following steps in order to see it:
1. Tool > Customized
2. select command and then select in save in > PrintCPOReports.doc...
how every i want to over come this steps and the button to be shown below the text as indicated above in the word document.

fumei
09-22-2008, 11:56 AM
1. Why? If it is indeed in the on the template toolbar, then IF (and only if) the template is accessible, the button will be on the toolbar.

2. You should be careful with Scope.

3. Are you really getting proper results using Dir as you have written it?

sDocName = Dir(sMyDir & "*.doc" & "*.ppt")

I just did a test and it does not return anything.