+ Reply to Thread
Results 1 to 11 of 11

Auto populate header w/ specific font and color

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Rutland, Vermont
    MS-Off Ver
    2010
    Posts
    31

    Auto populate header w/ specific font and color

    Good morning,

    I am using this macro to auto populate a header...

    Please Login or Register  to view this content.
    It works great, but I would like to control the font, size and color of the text in the header. Could someone please help me with adding that to the code?

    Thanks,
    Todd
    Last edited by Starmusk10; 11-09-2018 at 11:47 AM. Reason: Adhering to rules

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto populate header w/ specific font and color

    Hello Starmusk10,

    Thank you for adding Code Tags.

    Regards.
    Last edited by Winon; 11-09-2018 at 12:51 PM. Reason: Moderation removed
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    Rutland, Vermont
    MS-Off Ver
    2010
    Posts
    31

    Re: Auto populate header w/ specific font and color

    My apologies for not adhering to the rules. Thank you for pointing this out.

    Todd

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto populate header w/ specific font and color

    Hello Starmusk10,

    Maybe something like this?

    Please Login or Register  to view this content.
    Regards

  5. #5
    Registered User
    Join Date
    07-01-2015
    Location
    Rutland, Vermont
    MS-Off Ver
    2010
    Posts
    31

    Re: Auto populate header w/ specific font and color

    That works, but it places the text and formatting into Cell A1 Instead of the left header.

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto populate header w/ specific font and color

    Thank you for the feedback Starmusk10,

    Then we revert to the following Code;

    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    Regards.
    Attached Files Attached Files

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto populate header w/ specific font and color

    Hello Starmusk10,

    I think the following will suit you better.

    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    Regards.
    Attached Files Attached Files
    Last edited by Winon; 11-12-2018 at 02:05 AM.

  8. #8
    Registered User
    Join Date
    07-01-2015
    Location
    Rutland, Vermont
    MS-Off Ver
    2010
    Posts
    31

    Re: Auto populate header w/ specific font and color

    Thank you very much. This works perfectly!

    Todd

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto populate header w/ specific font and color

    Hi Todd,

    Thank you for the feedback. Glad I could help, and that you have added to my Reputation. Also thank you for marking this thread as solved.

    Kind regards.

    W

  10. #10
    Registered User
    Join Date
    07-01-2015
    Location
    Rutland, Vermont
    MS-Off Ver
    2010
    Posts
    31

    Re: Auto populate header w/ specific font and color

    W,
    How do I adjust the color and size of the font? I thought it would be pretty simple, I tried just replacing the HTML code (K0000FF), but I've gotten some funky stuff by doing that. I would like to customize the font, size and color.

    Please Login or Register  to view this content.

    Thanks,
    Todd

  11. #11
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto populate header w/ specific font and color

    Hello Todd,

    Please see this Link for a list of HTML Color Numbers, and experiment with same.

    You may have to remove the preceding #, if it does not Work. To change the Font, Enter any Font Name listed in the Font Select dropdown List available on the Excel Home Tab Sheet.

    The size of the Font is Specified in Red, as shown below;

    Please Login or Register  to view this content.
    Regards.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Count cells that have specific font color
    By Wheelie686 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2012, 08:24 PM
  2. Count font color sum will not auto calculate
    By Greed in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-22-2011, 10:11 PM
  3. Calculate by specific font color?
    By lorne17 in forum Excel General
    Replies: 9
    Last Post: 08-05-2011, 08:15 PM
  4. Color Header Specific Color Only to End of Text
    By MSmithson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-29-2010, 08:27 PM
  5. Auto font color change
    By smurphy812 in forum Excel General
    Replies: 3
    Last Post: 06-05-2008, 02:11 PM
  6. How to auto change text color/font when another line =
    By Blacryan in forum Excel General
    Replies: 3
    Last Post: 05-17-2007, 01:30 PM
  7. Change Font Color in Header????
    By Morgan in forum Excel General
    Replies: 1
    Last Post: 08-18-2006, 02:10 PM
  8. [SOLVED] Can I total only numbers with a specific font color?
    By BLillie11 in forum Excel General
    Replies: 1
    Last Post: 12-20-2005, 12:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1