Closed Thread
Results 1 to 30 of 30

Create booking system in excel!

  1. #1
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16

    Create booking system in excel!

    Hi, I'm pretty new here but I'm in need of help badly. My job deepends on this. I am a field service engineer (system administrator) but for some reason, my office has demanded that i create an excel sheet with tools for them to be able to monitor their cars. i.e , the drivers, who booked the car, for how long, etc.

    I am not a genius with Excel/VBA but all I was able to make is the front-end ( kindly see attached).

    All i need is this.

    When I click the
    Date: I would like the users to be insert date from a calendar
    Booked By: click and an arrow to insert their names from a list of employees
    Driver's name: insert name from list of drivers
    Car Type: insert car type from a list of cars
    Register number:insert from a list
    Depart time: insert time from a clock ( if possible)
    Arrival time: insert time from a clock ( if possible)
    Status: select between available ( blue color) & not available. (red color)


    Also, the excel sheet will be placed on a network drive where users can access it and save.

    Help please, because I just don't know what to do. Any advice or modification as welcome.

    Many thanks.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by aretha; 09-19-2008 at 04:09 AM.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    There's a topic about listboxes on my site. This might help you to get data from a list.
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    and where is your site?

  4. #4
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544

  5. #5
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    yeah..thanks..checking it out...but can the data be saved and then be seen by users the moment they open the excel sheet.

    say for example, to know you booked a car and on which day?

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Can you attach what you have si far?
    Hope that helps.

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

    Free DataBaseForm example

  7. #7
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    Quote Originally Posted by royUK View Post
    Can you attach what you have si far?
    What I have so far is just the excel sheet Kindly see attached.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    ok guys...this is what I have now. ( Kindly see attached).

    I am able to create a list of (drivers, cars etc) on another sheet and its taking shape.

    Question now is,
    1) how do I insert date and time.
    2) How do I hide the second sheet so that users
    dont see it at all.
    3) to make status change in color, e.g if available (blue)..if not available RED.
    Attached Files Attached Files
    Last edited by aretha; 09-19-2008 at 07:13 AM.

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

    Date: I would like the users to be insert date from a calendar
    this will need VBA

    Booked By: click and an arrow to insert their names from a list of employees
    Driver's name: insert name from list of drivers
    Car Type: insert car type from a list of cars
    Register number:insert from a list
    Status: select between available ( blue color) & not available. (red color)

    The above can be done with Data Validation see :
    http://www.excel-it.com/data_validation.htm

    Depart time: insert time from a clock ( if possible)
    Arrival time: insert time from a clock ( if possible)

    The above can be done with VBA

    Add your data validation then post back for further help.

  10. #10
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    many thanks roy...I have done the data validation. the file is attached in my previous post. (test.xls)

    can you see it?

    what is left is the
    Date: I would like the users to be insert date from a calendar

    this will need VBA

    Depart time: insert time from a clock ( if possible)
    Arrival time: insert time from a clock ( if possible)

    The above can be done with VBA
    Last edited by aretha; 09-19-2008 at 09:11 AM.

  11. #11
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    The front end looks nice, but how functional is it?

    You haven't addressed a major concern: how will the information be databased. Specifically, once someone enters their information, what is supposed to happen to it? Will they print out the Car Booking? If not, when someone else enters their information, it will clear out the first person's info.

    Do you have any ideas on proceeding? Or do we have a degree of free reign?

  12. #12
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    Quote Originally Posted by BigBas View Post
    The front end looks nice, but how functional is it?

    You haven't addressed a major concern: how will the information be databased. Specifically, once someone enters their information, what is supposed to happen to it? Will they print out the Car Booking? If not, when someone else enters their information, it will clear out the first person's info.

    Do you have any ideas on proceeding? Or do we have a degree of free reign?
    Hi BigBas and many thanks...I followed advices of earlier posters (WintE & RoyUk) to perform the data validation, which I have done. (see attached)

    but then actually if you have more ideas about how to proceed..they will be highily welcomed. There is a high degree of free reign...))))

    I dont know what to do with the database, which in fact is supposed to be stored. i.e if you enter a date/time and there is already a booking for that day, it should be reflected...
    Attached Files Attached Files
    Last edited by aretha; 09-19-2008 at 10:29 AM.

  13. #13
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    So, I set up a sheet (DataBase) that collects the information that is entered into the main sheet. Admittedly, I didn't have very much time for error checking and what not, so give the workbook a try and let us know what needs to be changed, and what is drawing an error.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    Many Thanks BigBas...absolutely fantastic...!!!! I honestly couldnt have done this by myself.

    I tested the file you sent (database sheet) and noticed the following?

    1. The destination address (in the database sheet) was showing date & time but looks like I was able to rectify it. Kindly have a look.

    2. Also I added another row: Time on Road...Is it possible for this to be automatically calculated or inserted after the journey is completed?

    3. How do I edit a booking?

    4. How do I change the status of the booking by colors. If Available (in blue), if Not Available (in Red).

    5. How do I add arrows like the ones you inserted in the date row. Its looks and works easier than the ones in the booked by, drivers'name ,etc... row.

    6. Is it possible for you to send me a tutorial how you built the macros, etc...that will be awesome!!!
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    hi..anyone to help out pls...!!!

  16. #16
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    To add the time on road, switch on design view & double click the last time control(DTPicker3), this will open the VB Editor. Make sure the control's name is in the left hand drop down and in the right hand dropdown find Change. Paste in this code.
    Please Login or Register  to view this content.
    To change the status of a booking use Conditional Formatting see

    http://www.excel-it.com/excel_condit...formatting.htm
    Last edited by royUK; 09-29-2008 at 09:30 AM.

  17. #17
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by aretha View Post
    3. How do I edit a booking?
    To edit a booking with the form would require a similar one setting up, you would need to add a reference number for each booking. This should show in column A of the database. Then use VLOOKUP to populate the editable cells. The code should then be adapted to overwrite the correct line.
    5. How do I add arrows like the ones you inserted in the date row. Its looks and works easier than the ones in the booked by, drivers'name ,etc... row.
    These are activex controls, the others are Data Validation. You would need to use ComboBoxes but it would need more coding.

  18. #18
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    many thanks RoyUK...Let me try what you suggested.

  19. #19
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I've just amended the earlier code.

  20. #20
    Registered User
    Join Date
    09-19-2008
    Location
    World
    Posts
    16
    hi..I tried and for some reason I get 0 as time on road! How is that?

    Also, the depart time and arrival time in the database sheet, shows the date
    9/19/2008 7:30:00 AM.

    I have tried to do the changes but sometimes, it appears normal and sometimes it doesnt. Kindly help out pls.

  21. #21
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    It works fine for me. You need to reformat the cell for the time, you currently have white Font. You also need Custom NumberFormat "hh:mm"
    Attached Files Attached Files

  22. #22
    Registered User
    Join Date
    10-05-2013
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Create booking system in excel!

    How to make flight booking using excel (MS excel 2010) PLEASE HELP! ASAP! Thanks! :D

  23. #23
    Registered User
    Join Date
    01-04-2017
    Location
    lahore
    MS-Off Ver
    2013
    Posts
    1

    Re: Create booking system in excel!

    How to make flight booking using excel (MS excel 2010) PLEASE HELP! ASAP! Thanks! :D


    plz help me

  24. #24
    Registered User
    Join Date
    10-10-2018
    Location
    sofileen
    MS-Off Ver
    2016
    Posts
    1

    Re: Create booking system in excel!

    hi, i didnt dhowload the formate can any one helf me

  25. #25
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: Create booking system in excel!

    I am working on it.
    Click the * Add Reputation below to say thanks.

  26. #26
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Create booking system in excel!

    sofileen welcome to the forum

    Unfortunately your post does not comply with Rule 4 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  27. #27
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,714

    Re: Create booking system in excel!

    The original thread was actually posted over 10 years ago. I don't think anyone else will be monitoring it now.

    Pete

  28. #28
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Create booking system in excel!

    Yup, that too, Pete

  29. #29
    Registered User
    Join Date
    12-28-2021
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    1

    Re: Create booking system in excel!

    Quote Originally Posted by aretha View Post
    hi..I tried and for some reason I get 0 as time on road! How is that?

    Also, the depart time and arrival time in the database sheet, shows the date
    9/19/2008 7:30:00 AM.

    I have tried to do the changes but sometimes, it appears normal and sometimes it doesnt. Kindly help out pls.
    How was it? did it work for you? I am kind of in the same situation here, that needed the same help xD

  30. #30
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Create booking system in excel!

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. to create a special excel formula
    By Richardhelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-19-2008, 10:47 AM
  2. Excel to outlook booking
    By Willie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2007, 06:57 AM
  3. Outlook Tasks
    By bmasella in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-04-2007, 12:39 PM
  4. booking system.
    By redja in forum Excel General
    Replies: 4
    Last Post: 02-21-2007, 10:45 AM
  5. Replies: 3
    Last Post: 02-05-2007, 04:37 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