Header gets cut off when I run a macro in Excel

后端 未结 2 633
無奈伤痛
無奈伤痛 2021-01-28 08:18

I have a header set up in a master spreadsheet in which I run different macros off of to sort the information differently. When I run the macros, the bottom portion of my header

2条回答
  •  执笔经年
    2021-01-28 09:12

    I just figured it out. I had to remove

    Header:=xlYes 
    

    and add

    ActiveSheet.PageSetup.TopMargin = 90
    

提交回复
热议问题