+ 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
    9,643

    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 the forum editor will apply 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)

Similar Threads

  1. Replies: 2
    Last Post: 06-15-2018, 11:43 AM
  2. Replies: 1
    Last Post: 04-20-2015, 04:36 AM
  3. Replies: 3
    Last Post: 10-03-2014, 12:04 AM
  4. [SOLVED] Find a collumn in a dynamic sheet and select the entire collumn
    By Armand0 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2014, 11:20 AM
  5. Beginner with Excel Here: Need Help with Cell Formatting Function
    By ljh3rdid in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-27-2006, 05:20 PM
  6. [SOLVED] replace the letters (for collumn) & numbers(row no.) of cell reference only
    By al007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2005, 12:50 PM
  7. Delete all of collumn after cell...
    By Zlord in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2005, 08:05 PM

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