Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have spent much of the morning looking at various forums & threads but had no luck finding exactly what I need.
As you can see the code below updates the right headers for all sheets in my workbook with the value in sheet = VBlookup, Cell B1. I have several sheets in the work book that I don't want updated. Is it possible to specify which sheets the code update? Thanks in advance Sub CellInFooter() Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets ws.PageSetup.RightHeader = Range("VBlookup!B1").Text Next ws End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel cells randomly don't get updated unless each cell is updated | Excel Discussion (Misc queries) | |||
date last updated | New Users to Excel | |||
How to compare new/updated/withdrawn records between two sheets | Excel Discussion (Misc queries) | |||
updated row comes at the top | Excel Discussion (Misc queries) | |||
Keeping data updated between 2 sheets... novice needs help. | Excel Discussion (Misc queries) |