Use VBA to copy an image from headers/footers of one sheet to another

后端 未结 3 2020
眼角桃花
眼角桃花 2021-01-22 03:05

I need to write a VBA code to copy a company logo in the headers/footers of one excel sheet to another sheet in another workbook. Any ideas?

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-22 04:07

    Excel has a handy Record Macro function.

    You can initiate that, Copy the footer over, then stop the recording.

    Then, review the code, and it should pretty much show you how to do it.

提交回复
热议问题