+ Reply to Thread
Results 1 to 5 of 5

VB script to do conditional formatting of font size

  1. #1
    Registered User
    Join Date
    05-11-2011
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2003, 2007
    Posts
    4

    VB script to do conditional formatting of font size

    I've tried to do a little VB scripting.
    I need to do some conditional formatting of the font size.
    If cell Bx has no value, cell Cx must have another font size then originally set.
    All cells in coloumn B must be checked from B4 to B1007, and cell C formatted accordingly!
    What I've tried to do is this;

    Please Login or Register  to view this content.
    Any suggestions ?
    Last edited by Antila; 06-20-2011 at 01:43 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: VB script to do conditional formatting of font size

    Hi Antila

    Please wrap your code in code tags, before the moderators get you...

    Click here - Forum rules
    3. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # button at the top of the post window. If you are editing an existing post, press Go Advanced to see the # button.
    Cheers

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: VB script to do conditional formatting of font size

    Try this
    Please Login or Register  to view this content.

    Hope this helps.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    05-11-2011
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2003, 2007
    Posts
    4

    Re: VB script to do conditional formatting of font size

    Cheers Marcol, that did the trick!

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: VB script to do conditional formatting of font size

    Happy to have helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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