View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
kraljb[_14_] kraljb[_14_] is offline
external usenet poster
 
Posts: 1
Default set header font size using a variable?


Because it is treating the &'s as part of the string...

You should change it like so...
CenterHeader = "&" & chr(34) & "Times New Roman,Bold&"&chr(34)&" & FS &
"&ATTACHMENT I"

(The Chr(34) returns the double quote to make it easier to read


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=400911