Creating a macro to add a background to multiple sheets

ExcelAmateur704

New Member
Joined
Aug 24, 2020
Messages
2
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Platform
  1. Windows
Hi everyone, i'm working on a project and need to add a certain background to all of my sheets in excel at once. I tried recording the macro, but it won't work for the other files since the tabs are all named differently. Can anyone help me write a simple macro to apply a picture of an airplane to all sheets in an excel? I tried going to page layout and adding a back for all sheets, but it doesn't work since each file has different tab names :(
 

Some videos you may like

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

jcrook

New Member
Joined
Jun 12, 2020
Messages
15
Office Version
  1. 2016
Platform
  1. Windows
I have a question...
Were you able to accomplish what you wanted when you recorded the macro?

Thanks,
Jay
 

ExcelAmateur704

New Member
Joined
Aug 24, 2020
Messages
2
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Platform
  1. Windows
I have a question...
Were you able to accomplish what you wanted when you recorded the macro?

Thanks,
Jay

Yes, I was, but the issue is I can't run that macro for the other files because they all have different worksheet names. I need help creating a macro to just add that background image to all the worksheets no matter their name.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,472
Messages
5,596,354
Members
414,060
Latest member
hermanseck

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