+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting vba

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Arrow Conditional Formatting vba

    I'll try do (the macro is necessary because users can change or remove formatting):

    The first row of a sheet has headings;
    Column A (from 2 row and below) text (VerticalAlignment=xlCenter, HorizonalAlignment=xlLeft, text style bold)
    Range A2:CV - data (numbers from 0 to 2, manually sets). Need to apply IconSets(xl3Symbols2) to this range. VerticalAlignment=xlCenter, HorizonalAlignment=xlCenter, text style bold)
    All range A:CV must be formatted with borders xlContinuous and weight xlHairline

    Can any analyse my macro?

    vba code
    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting vba

    тест.xls
    File attached, pls help with both vba
    second sheet also contains headers, and i thought my macro is ugly, but I can't do anything more (

  3. #3
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting vba

    eh, mb any can help with that.. sry for 3rd post.
    Last edited by Remphan; 05-08-2013 at 02:38 AM.

  4. #4
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting vba

    Dear colleagues if it isn't difficult - look, please, that it is possible to make, I will be very grateful.

  5. #5
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Conditional Formatting vba

    Why not just protect the sheet instead ?

  6. #6
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting vba

    In my orignal heawy-coded book there are vba for authorization of users. But administrators have an opportunity to edit all sheets. As they are simple users, it is difficult to resolve an issue differently without vba formatting. They can't remove a sheet, but make actions that formatting usual was removed - can, and it occurs constantly.
    And the most sad that they must to edit these sheets.

  7. #7
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting vba

    Firt sheet vba was changed test.xlsx
    But 2nd sheet macro still needs correction. In it is required to apply formatting in case of data input in a column A or change of the status in a version column. I dunno how do that right.

  8. #8
    Registered User
    Join Date
    03-16-2012
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting vba

    One macro lasts.. mb any can help.

+ 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