Consulting

Results 1 to 2 of 2

Thread: test colour highlight code

  1. #1
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,478
    Location

    test colour highlight code

    Private Sub CommandButton21_Click()
    With Worksheets("Report").Activate
    With Range("A1" & Range("AS" & Rows.Count).End(xlUp))
    .AutoFilter Field:=45, Criteria1:="2 - WAY"
    On Error Resume Next
    .Offset(1).SpecialCells(12).EntireRow.Delete
    End With
    .AutoFilterMode = False
    End With
    End Sub
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  2. #2
    MVP (Excel 2008-2010)

Posting Permissions

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