+ Reply to Thread
Results 1 to 1 of 1

Help Automating Room Assignments and Data Transfer Between Workbooks

  1. #1
    Registered User
    Join Date
    02-24-2024
    Location
    Italy
    MS-Off Ver
    MS Office: 18.2311.1071.0
    Posts
    3

    Talking Help Automating Room Assignments and Data Transfer Between Workbooks

    I've created an Excel macro, with the assistance of AI, to streamline room assignments for hotel staff.

    My macro does the following: it reads room assignment instructions from the "Planning" workbook ("Programma" sheet),
    handling various instructions like floor assignments (e.g., "IIP"), specific room numbers, and combinations.

    It prioritizes specific room numbers over floor assignments. It cross-references with 'Occupancy' and 'Arrivals' workbooks,
    checking the "Occupancy" workbook to determine which rooms should be marked as occupied or vacating next day based
    on guest stay dates and fetching details from the "Arrivals" workbook for how rooms that are currently occupied should
    be prepared when vacated next day(room number, bedding preference, guest count, estimated arrival time).

    It updates maid worksheets within the "Planning" workbook, based on which maiden will be working,
    assigning rooms to specific worksheets, marking rooms status based on dates from the "Occupancy" workbook,
    and transferring arrival information.

    It handles unassigned rooms by generating a list of rooms to alert the user before proceeding.

    My macro is not correctly interpreting room assignment instructions from the designated
    cell in the "Programma" sheet of the "Planning" workbook(not assigning any rooms)
    nor is it marking the rooms status as occupied or to be vacated.

    I need help debugging this part. Additionally, I'm having trouble handling all the variations in how room assignments can be
    written (e.g., "IIIP DALLA 301 ALLA 313"). I'd appreciate guidance on optimizing the code that parses these instructions.
    Also, the ETA from the "Arrivals" workbook is being written incorrectly to the maid worksheets.


    The workbooks and macro for reference:

    Planning.xls Arrivals.xls Occupancy.xls MACROPLANNING.txt
    Last edited by BlackHawkrc; 02-24-2024 at 07:35 PM.

+ 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. Schedule based on Room Assignments for different instructors at different times of day
    By Basicexcelman in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-21-2021, 08:32 PM
  2. Replies: 1
    Last Post: 01-02-2020, 12:26 PM
  3. automating our Pool League's Teams to Tables Assignments Schedule
    By RentedDreams in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2019, 12:55 PM
  4. Formulas to Help with Room Assignments
    By elite-rob in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2018, 01:01 PM
  5. Transfer & confirm data transfer between workbooks
    By fenfool in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2015, 01:10 PM
  6. Automating transfer of Outlook emails data to Excel
    By yawwwn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2015, 02:01 AM
  7. Replies: 1
    Last Post: 09-17-2013, 08:51 AM

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