+ Reply to Thread
Results 1 to 2 of 2

Beginner/ Formatting cell in a collumn using VBA

  1. #1
    Registered User
    Join Date
    09-12-2018
    Location
    Krakow, Poland
    MS-Off Ver
    Excel 2016
    Posts
    1

    Beginner/ Formatting cell in a collumn using VBA

    Hello Everyone,

    I am a beginner with VBA. What I want here is to solve the issue using VBA (I know how to do it with conditional formatting).
    The goal is to find the solution using Macro.

    Scenario I have extracted data, in the column P, there are numbers inside.
    I want to apply a special formation (e.g = Bold characters) for every number above "20" and below "-20".

    I would be glad if someone could correct/explain me.

    Here below is what I drafted:

    Please Login or Register  to view this content.
    Thank you in advance,
    Best regards,
    Chris
    Last edited by Leith Ross; 09-12-2018 at 07:51 PM. Reason: Added Code Tags

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    7,756

    Re: Beginner/ Formatting cell in a collumn using VBA

    To install the code:
    • Right-click on the sheet tab
    • Select View Code from the pop-up context menu
    • Paste the code from below in the worksheet's code module


    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 09-12-2018 at 08:08 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in your menu for the forum editor will apply the CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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