Use inputbox to take number of copies to print in Word, changing header on page 1

kelly mort

Well-known Member
Joined
Apr 10, 2017
Messages
2,169
Office Version
  1. 2016
Platform
  1. Windows
Hi,

This is not an excel question. But I have nowhere to post it ATM, and I have decided to give it a try here.

I want to use a macro to print a word document with some details as the header.

So here, when the inputbox shows up and I place 10 in it, it means I need 10 copies of the document. I have only two pages and will print all.

Then each page 1 of the documents printed, I want the headers look like this, ABC1, ABC2, ABC3, in this manner.

If there is a possibility to what I want to achieve, then someone should help me out. Thanks
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Bump

If any of the conditions I pointed out can be achieved, I will be glad to know it.

Any that can work will be great for me.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,670
Messages
6,173,724
Members
452,529
Latest member
jpaxonreyes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top