+ Reply to Thread
Results 1 to 6 of 6

VBA not working due to referenced sheet formatting changes

  1. #1
    Registered User
    Join Date
    03-23-2017
    Location
    Montreal, Quebec
    MS-Off Ver
    2007
    Posts
    24

    VBA not working due to referenced sheet formatting changes

    Hello,
    The base template was downloaded from a website with the formula and video help.

    I need to adapt it to a campsite so services and amps in different combinations is a must for booking purposes.

    All was working fine till I added rows and columns to the booking sheet.
    Read the code and changed cell reference values to new locations, so I think.
    Booking in the list stopped showing up on the bookings sheet calendar

    I am thinking that the code has a number of offsets and I am not understanding the function, so not fixing.

    I never managed to get the edit booking to work, the VBA is in the workbook.
    Lookup, delete and add bookings all stopped working since my modifications.
    Clear is to clear the info on the booking sheet.
    +7 and -7 work fine as does the calendar.

    Interface and invoice can be done at a later time through Commercial Services

    Thank you
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: VBA not working due to referenced sheet formatting changes

    Hi,

    The mistake is in the bookings part

    change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    and all works again
    or download the book back
    i didn't tough the edit part
    Attached Files Attached Files
    Last edited by Joske920; 12-30-2019 at 10:16 PM.
    Please be as complete as possible in your asking so it may save use all the time to rework the solution because you didn't give all the requirements. If you have a layout in mind please work it out first so we can adapt our solution to it. Thanks.
    If you have been helped, maybe you could click the *

  3. #3
    Registered User
    Join Date
    03-23-2017
    Location
    Montreal, Quebec
    MS-Off Ver
    2007
    Posts
    24

    Re: VBA not working due to referenced sheet formatting changes

    Thanks for the help.
    Really appreciate it.

    I will keep looking into the edit booking part

  4. #4
    Registered User
    Join Date
    03-23-2017
    Location
    Montreal, Quebec
    MS-Off Ver
    2007
    Posts
    24

    Re: VBA not working due to referenced sheet formatting changes

    Hello again,
    Getting closer to the completed work.
    The edit booking macro - button is semi-working:
    I can lookup a booking and change the status -to or from paid cancelled unconfirmed etc. (color change)
    If I add or remove days for the stay, they update in my data tab in data and data advanced filter but not in my calendar.

    Pretty sure it's something in my booking that is not updating.

    hope you can help

    Thank you
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: VBA not working due to referenced sheet formatting changes

    Hi,

    You need to add all the cells you write to the data in your edit code then it does update

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-23-2017
    Location
    Montreal, Quebec
    MS-Off Ver
    2007
    Posts
    24

    Re: VBA not working due to referenced sheet formatting changes

    Hello Joske920,

    Thank you very much this is what I needed.

    Wish you the best for the new year and years to come.

+ 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. Replies: 1
    Last Post: 05-08-2019, 10:55 AM
  2. Conditional formatting from referenced cell
    By miles44 in forum Excel General
    Replies: 5
    Last Post: 08-23-2018, 12:42 PM
  3. [SOLVED] Referenced cell not working with SUM calculation.
    By Kat2016 in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 05-21-2016, 01:52 AM
  4. [SOLVED] Countifs formula not working when referenced to another worksheet
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-18-2014, 06:11 PM
  5. Replies: 1
    Last Post: 03-01-2011, 03:31 PM
  6. Replies: 3
    Last Post: 04-29-2009, 03:59 AM
  7. Replies: 2
    Last Post: 01-12-2006, 10:35 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