+ Reply to Thread
Results 1 to 3 of 3

Roster "calculator" needs a home macro

  1. #1
    Registered User
    Join Date
    10-29-2014
    Location
    christchurch, new zealand
    MS-Off Ver
    2013
    Posts
    3

    Roster "calculator" needs a home macro

    Hi, I have a roster/shift calculator that i designed and have used for the past few years. It's pretty basic and shows a weeks roster for a group of people that just scrolls forward or backwards a week at a time.
    My challenge is to create a macro that will return the roster to the "current" week - I guess I know what I want it to do; look at the range of dates for the week and compare them to todays date and then if the range does not, then run the macro (backward or forward) until the condition is satisfied.
    If anyone can help it would be appreciated, also happy to include any suggested changes to tidy up.
    de-sensitised spreadsheet attached - you can see it's a government dept by the number of managers on it
    thnx
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Roster "calculator" needs a home macro

    Hi howiebinnz and welcome to ExcelForum,

    I like your spreadsheet and macro design. Simple, but very effective.

    Try the following Macro (after adding a 'ThisWeek' Command Button):
    Please Login or Register  to view this content.
    Lewis

  3. #3
    Registered User
    Join Date
    10-29-2014
    Location
    christchurch, new zealand
    MS-Off Ver
    2013
    Posts
    3

    Re: Roster "calculator" needs a home macro

    works like a charm. wish i was as clever as that !!!
    really appreciate the quick and complete response.
    see you in nz next time you are here !

+ 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. [SOLVED] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. [SOLVED] Generate Name Roster From Date Cells Marked "X"
    By rockytop80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-10-2013, 02:54 PM
  3. How can i copy value from "HTMLText"(EMBED("Forms.HTML:Text","")),using Macro
    By andrewyang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2010, 12:47 AM
  4. "Home" & "End" buttons act different than before
    By Launchnet in forum Excel General
    Replies: 6
    Last Post: 01-09-2010, 08:31 PM
  5. changing a SendKeys "(^+{home})" to a function
    By filo666 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-12-2005, 07:07 PM

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