Header gets cut off when I run a macro in Excel

后端 未结 2 631
無奈伤痛
無奈伤痛 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:06

    Try putting the .WrapText = True piece last.

    0 讨论(0)
  • 2021-01-28 09:12

    I just figured it out. I had to remove

    Header:=xlYes 
    

    and add

    ActiveSheet.PageSetup.TopMargin = 90
    
    0 讨论(0)
提交回复
热议问题