LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Insert cell/format/text/fontsize and auto insert into header?

I'd like some help in figuring out how to get my formatted cell A1 text to
print out via a macro print button. I have figured out the macro print
button and how to get the text to printout in the header when the button is
activated by using the following:


ActiveSheet.PageSetup.RightHeader = Range("A1").Value


What do I need to add to the above line to accomplish my goal? I have yet
to be able to figure out how to transfer the formatting, font style and size
into the header.

In cell A1, the user types in a number like "111111111" and the formatting
of the cell inserts "-" and adds 4 zeros to the end and turns out looking
like "1111-111-1-0000". It is this format that I'd like to have sent into
the header upon the printing of the active sheet.

Please help an offer suggestions to a rookie.

Thank you.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert Header will full text across page Janet A. Thompson Excel Discussion (Misc queries) 0 January 12th 10 02:14 PM
insert auto text Linda Excel Discussion (Misc queries) 6 January 24th 08 11:38 PM
How do I insert a link to a cell in a header in Excel? RobM Excel Discussion (Misc queries) 1 December 15th 06 04:29 PM
Can I auto insert a worksheet when I insert a value in a cell. iainc Excel Worksheet Functions 0 April 27th 06 08:37 AM
insert the content of a cell into a header/footer subscriptionsink Excel Discussion (Misc queries) 1 May 26th 05 07:40 PM


All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"