Closed Thread
Results 1 to 3 of 3

Help With Code.....

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    102

    Help With Code.....

    I am working on an employee schedule program. I have a worksheet (Schedule) I use that has the start time and the end time of each shift in separate cells (start time in c7, end time in f7). On a separate worksheet (EmpInfo), I have each employees availability, with their start time and end times in separate cells (start time in i4, end time in j4). One of the features I would like to implement is that when I drop a name into the schedule, it checks to make sure they are within their availability. If not, a message box would pop up to let the scheduler know they are attempting to schedule someone outside their availability.

    Any ideas?

    Thanks in advance.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,243

    Re: Help With Code.....

    Hi ZooTV92,

    To get this correct we really need a sample of your workbook. You can attach a sample by clicking on "Go Advanced" below the message area and then on the Paper Clip Icon above the advanced message area.

    You could simply overwrite all the names with Name1, Name2, Name3 etc and that might create a more private sample.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Help With Code.....

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

Closed 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