Range("M:P,U:V").HorizontalAlignment = xlCenter
FYI, I got this from the macro recorder.No matter how good you get, its still a good tool.
This is a discussion on HorizontalAlignment = xlCenter ? within the Excel Questions forums, part of the Question Forums category; Can this line be written as one? I have tried altering the syntax, but that is not the answer. Code: ...
Can this line be written as one? I have tried altering the syntax, but that is not the answer.
Thanks,Code:Columns("M:P", "U:V").HorizontalAlignment = xlCenter
Doug
Range("M:P,U:V").HorizontalAlignment = xlCenter
FYI, I got this from the macro recorder.No matter how good you get, its still a good tool.
Thanks Todd
![]()
my site: www.ecboardco.com
was built w/ a tremendous amount of help and guidance from mrexcel and a few dedicated board members: A Huge Thanks!
Bookmarks