callamhall
New Member
- Joined
- Oct 30, 2017
- Messages
- 2
Hi,
I am currently trying to create a VBA to show a cell value in the center header in bold, I have got the cell value to show in the header but I am unable to get this to go bold and font size 14?
I have tried a few methods but none have worked?
Code I use is below:
Thanks
I am currently trying to create a VBA to show a cell value in the center header in bold, I have got the cell value to show in the header but I am unable to get this to go bold and font size 14?
I have tried a few methods but none have worked?
Code I use is below:
Code:
Sub HeaderFromB19()
ActiveSheet.PageSetup.CenterHeader = Range("B18").Value
End Sub