Jul 8, 2004 #1 MrBaRRon Programmer Aug 8, 2003 39 IT Hi everybody, I need to align at the center the content of an Excel sheet. (Forms control and cells). But the width of the content is not always the same. I would like the code to center automatically before printing in VBA. Thank U.
Hi everybody, I need to align at the center the content of an Excel sheet. (Forms control and cells). But the width of the content is not always the same. I would like the code to center automatically before printing in VBA. Thank U.
Jul 8, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR Something like this ? ActiveSheet.PageSetup.CenterHorizontally = True Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Something like this ? ActiveSheet.PageSetup.CenterHorizontally = True Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244