Am using the following to attempt to use VBA to create my document header.
fName is a string variable that extracts the .xls/.xlsx/.xlsm from the filename. the pertinent portion of the code that I am using (with no success) is as follows
Help, Please.
fName is a string variable that extracts the .xls/.xlsx/.xlsm from the filename. the pertinent portion of the code that I am using (with no success) is as follows
Code:
Activesheet.PageSetup.CenterHeader = "&C&B""Arial""&20" & fName