linking headers cell value
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

resolvedResolved · Low Priority · Version 2007

replyReplyMon 14 Jun 2010, 09:43Delegate Natalie said...

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

replyReplyWed 16 Jun 2010, 13:48Trainer Stephen said...

RE: Linking headers to a cell value

Hi Natalie

Thanks for your question

This involves setting various properties of the pagesetup object. For example

With ActiveSheet.PageSetup
.LeftHeader = activesheet.Range("a1").value
end with


Sets 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.

 

 

Please browse our web site to find out more about
access database microsoft training and other Microsoft training courses.

Access tip:

Display current date & time in column of any width

The worksheet function =NOW() returns the current date & time. When entered into a column which is not wide enough to display the value NOW returns, the cell displays ###

View all Access hints and tips

article

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 postI need a macro the change the column selected with a cell reference. For example C3 to E3, Without changing the row.

For some reason macro's will not record when I press the arrow keys.
Thanks,
Mekanto

» Forum post: Macro To Change Column


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training