Create event to run multiple Macro's

WopkeHettema

New Member
Joined
Feb 14, 2019
Messages
1
Hello,

I'm using Excel now for a long time for the company I work for and of recently i started to experiment with macro's to do the tedious work of copying and pasting the first 10 rows of my sheet whenever I run out of space on my first printable area I would really like to have an automated event that askes me if I want an extra "page"to be added under the first page.

I hoped it was possible when I for instance pass row 40 that it would give me a popup box to ask if i want an extra "page" and then automaticly copy the first 10 lines of code to a cell below the first "pageline".

And secondly I would like to create a new Save macro to check the filename to be anyting else as the file I opened and give me a box that let's me enter a file name and then save the file under the given name as a workable excelfile and a PDF File.

I hope I have given you enough information on my situation and i hope you can help me out here.


P.S. I'm using Excel in pageview so that's why i refer to pages.

Sorry for the horrible english but I'm not a native speaker
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Watch MrExcel Video

Forum statistics

Threads
1,123,385
Messages
5,601,331
Members
414,446
Latest member
CRAVIN

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
Top