Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"&""Arial,Bold""&12CW" & CalWk
use ampersand instead of + -- Regards, Tom Ogilvy "gvlral" wrote in message ... Under PageSetup .CenterHeader = "&""Arial,Bold""&12CW" + CalWk I am getting a Type Mismatch when running this line of code. A earlier line of code, CalWk = Range("B1").Value picks up the calendar week number from the worksheet. When the line tries to run CalWk = 3 Any Help would be appreciated, |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try
..CenterHeader = "&""Arial,Bold""&12CW" & CalWk -- HTH RP (remove nothere from the email address if mailing direct) "gvlral" wrote in message ... Under PageSetup .CenterHeader = "&""Arial,Bold""&12CW" + CalWk I am getting a Type Mismatch when running this line of code. A earlier line of code, CalWk = Range("B1").Value picks up the calendar week number from the worksheet. When the line tries to run CalWk = 3 Any Help would be appreciated, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reference to a Variable Part of a Cell | Excel Worksheet Functions | |||
can i link a variable cost code with a variable sum | Excel Discussion (Misc queries) | |||
Passing format to variable Part 2 | Excel Programming | |||
Excel generation and PageSetup.CenterHeader | Excel Programming | |||
Continuing print code problem | Excel Programming |