Consulting

Results 1 to 3 of 3

Thread: VBA for Highlighting

  1. #1
    VBAX Newbie
    Joined
    Apr 2011
    Posts
    2
    Location

    VBA for Highlighting

    I am trying to create a Macro that allows me to highlight every 5th (or 65th) row of a spreadsheet.

    Could a similar macro be used to highlight every 5th (or 65th) column?

    I am definitely new to creating the macros, so any utility that can assist me to assist myself in the future would be awesome.


    Thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You don't need VBA, just use conditional formatting with a formula of

    =MOD(ROW(),5)=0
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Apr 2011
    Posts
    2
    Location
    Awesome.. thanks!

Posting Permissions

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