Results 1 to 14 of 14

Thread: Shade Weekends in Calendar

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    snb
    Guest
    or

    replace

    [VBA]Range(Mid(c01, 2)).Interior.ColorIndex = 15 [/VBA]

    by

    [VBA]
    For Each ar In Range(Mid(c01, 2)).Areas
    ar.Resize(10).Interior.ColorIndex = 15
    Next

    [/VBA]

  2. #2
    VBAX Regular
    Joined
    Mar 2012
    Posts
    34
    Location

    Thumbs up Solved: Shade Weekends in Calendar

    xld, yet again your expertise has proven invaluable.....as a beginner attempting to progress to the next level the advice and help given by these forums will hopefully get me there one day.
    Thank you so much, we have supermarket in the UK that uses the slogan: Every Little Helps: and how true with vba.

    snb: Likewise with my sentiments, I am learning and learning and sometimes what can seem simple can be difficult to understand, but I am trying my best to not just use the code but undertand it and how it works correctly.

    VBA can be annoying, frustrating and crazy but the most rewarding area of IT I have ever attempted, although late in my working years to vba (still got more to go yet!!), I love it and without people like you who give your time and knowledge to learners like me and point us in the right direction we (and sometimes our companies) could never progress.

    Thanks Again.....

    Craig
    The more I learn the more I want to know.

Posting Permissions

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