+ Reply to Thread
Results 1 to 6 of 6

Have a table with formulas in couple of columns that this user form is removing.

  1. #1
    Registered User
    Join Date
    09-26-2015
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    79

    Cool Have a table with formulas in couple of columns that this user form is removing.

    Hi guys, I have created a booking system for a friend's holiday home, it all works as it should. But it only allows to add bookings to the table tblBookings.

    If any amendments or it needs to be removed it had to be done manually.

    I then did a search and found post on here https://www.excelforum.com/excel-pro...ml#post5370273

    This does exactly what I need I am slowly adjust the code, so it all works before I make look better.

    I have 2 issues that trying fix, In the 1st column idNO it generates id number form the code =Row()-2 which automatically numbers this column as rows are added. Also in column 4 it also has a formula
    =INT([@[End Date]])-INT([@[Start Date]]).

    When you either press add or amend buttons, it replaces what is in idNO and Days columns, removing the formula


    [ATTACH]816151[/ATTACH
    Attached Files Attached Files
    Last edited by SKEEEETER; 02-03-2023 at 06:14 AM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Have a table with formulas in couple of columns that this user form is removing.

    In your Add and Update subs, change this part:
    Please Login or Register  to view this content.
    To this:
    Please Login or Register  to view this content.
    BSB

  3. #3
    Registered User
    Join Date
    09-26-2015
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    79

    Re: Have a table with formulas in couple of columns that this user form is removing.

    That has done it thanks so much.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Have a table with formulas in couple of columns that this user form is removing.

    No problem. Happy to help

    BSB

  5. #5
    Registered User
    Join Date
    09-26-2015
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    79

    Re: Have a table with formulas in couple of columns that this user form is removing.

    Is there a way when hit hit the Add button it does not prompt to IDno in as this generated by table.
    Please Login or Register  to view this content.
    I have tried to modify but little unsure which bits need to stay and which bits to go.
    Last edited by SKEEEETER; 02-03-2023 at 04:26 PM.

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Have a table with formulas in couple of columns that this user form is removing.

    Get rid of this bit:
    Please Login or Register  to view this content.
    BSB

+ 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: 07-31-2021, 03:23 PM
  2. [SOLVED] Can I change Font size without changing cell size? Or confine row height change to one col
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2018, 11:18 AM
  3. Change font size keeping the cell size fixed
    By mayurpatil in forum Excel General
    Replies: 1
    Last Post: 07-09-2015, 01:52 PM
  4. Listbox font changing size
    By AndyE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2015, 12:46 PM
  5. [SOLVED] Change font size of UserForm checkbox
    By PDBartlett in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-20-2014, 10:35 AM
  6. [SOLVED] Change default font and font size on COMMENTS in cells
    By Thistledown in forum Excel General
    Replies: 4
    Last Post: 11-23-2012, 09:26 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