Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » Linking headers to a cell value
Linking headers to a cell value
Resolved · Low Priority · Version 2007
Linking headers to a cell value
Let's say that I have a workbook with 3 worksheets. On sheet 1 in cell A1, I have the name of the company. What code would I need to have the headers in each worksheet be equal to the value of cell a1 in worksheet1 followed by the name of the worksheet?Thanks
For upcoming training course dates see: Pricing & availability
RE: Linking headers to a cell value
Hi NatalieThanks for your question
This involves setting various properties of the pagesetup object. For example
With ActiveSheet.PageSetup
.LeftHeader = activesheet.Range("a1").value
end withSets the left header of the active sheet equal to the contents of range A1
Hope this helps
Regards
Stephen
Wed 23 Jun 2010: Automatically marked as resolved.
|
|
How To Change The Case Of Letters In Word Speaking as someone whose typing skills do not allow him to watch the screen as he types, I have often come across that annoyance of accidentally typing with the Caps Lock on. It used to be a case of deleting and re-typing the whole passage until I came across this very useful trick. » Article: Word training courses in city of london |
» Forum post: Macro To Change Column |



Course updates

