How to hide the worksheet title/filename

Johangir

New Member
Joined
Jul 12, 2011
Messages
1
Greetings all, I need help. Could someone explain to me how to hide the title/filename of an excel worksheet via VBA when printing it?

Below is a screenshot of my excel sheet printed as a PDF:
excelsheettitle.png

Note how the filename (PR_20110711) is being displayed at the top. I need to know how to hide/remove that.

I appreciate any input on the matter.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hello and welcome to The Board.
My guess is that the 'Header' has been set to print the filename. You did not say which version of Excel is being used, so I cannot be specific, but look for the 'header' option in Page Setup.
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,896
Members
452,948
Latest member
Dupuhini

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