A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Then try
Sheets("Template").PageSetup.LeftFooter = "&""Arial""&10 " & "Prepared by: " & Range("A57").Value
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am no expert in VBA. I usually just copy and try stuff I get from web searches on the problem at hand. Now I am trying to populate a left footer and then format it. The end result should read: Prepared by: EndUserName with a Arial font and point size of 10. I have a function in cell A57 which reads =username() and is working fine to get the end user's name.
The code below works fine, but now I would like to add the text "Prepared by:" in front of the end user's name.
Sheets("Template").PageSetup.LeftFooter = "&""Arial""&10 " & Range("A57").Value
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Then try
Sheets("Template").PageSetup.LeftFooter = "&""Arial""&10 " & "Prepared by: " & Range("A57").Value
Perfect ! Thank you so much !