PC Review


Reply
Thread Tools Rate Thread

Copy Cell Value (text) to Header?

 
 
theFrog
Guest
Posts: n/a
 
      9th Nov 2003
I want to grab the text in a cell (company's name) and automatically copy it
to the header using a macro.

Thanks for any help.
Mike


 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      9th Nov 2003
Mike,

Try something like

ActiveSheet.PageSetup.LeftHeader = ActiveSheet.Range("A1").Text


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (E-Mail Removed)


"theFrog" <(E-Mail Removed)> wrote in message
news:3uyrb.8918$(E-Mail Removed)...
> I want to grab the text in a cell (company's name) and automatically copy

it
> to the header using a macro.
>
> Thanks for any help.
> Mike
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to copy a cell and horizontally expand the paste along header Gord Dibben Microsoft Excel Misc 1 10th Feb 2009 03:43 PM
RE: How to copy a cell and horizontally expand the paste along header Khoshravan Microsoft Excel Misc 3 7th Feb 2009 06:18 PM
Automatically copy form-field text to text box in header of same d =?Utf-8?B?TWVyY2VkZXMuSw==?= Microsoft Word Document Management 7 30th Sep 2007 02:37 PM
using text from a cell in the header =?Utf-8?B?RW1pZWw=?= Microsoft Excel Misc 1 1st Mar 2004 04:19 PM
using text from a cell in header =?Utf-8?B?RW1pZWw=?= Microsoft Excel Programming 2 1st Mar 2004 04:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:17 AM.