Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a VB script that I was running for all of my worksheets in Excel 2007 to put a date in the header of all worksheets in a workbook before printing. When I upgraded to 2010 it no longer worked. I've gone through the Trust Center and enabled macros and clicked trust access to VBA. The script being run is as follows: Private Sub Workbook_BeforePrint(Cancel As Boolean) ActiveSheet.PageSetup.RightHeader = Range("'revisiondate'!b2").Value End Sub Any ideas on how to get this to run again? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
On Error Resume Next not working (2010) | Excel Programming | |||
VBA: Insert Page Breaks code is not working in Excel 2010 | Excel Programming | |||
year 2010 not working in IF | Excel Discussion (Misc queries) | |||
Excel VBA script not fully working... help! | Excel Programming | |||
Excel VB Script Not Working in Explorer | Excel Programming |