Results 1 to 2 of 2

Userform paste to table error

Threaded View

  1. #1
    Registered User
    Join Date
    12-22-2016
    Location
    UK
    MS-Off Ver
    Microsoft 365
    Posts
    13

    Userform paste to table error

    Hi,

    I have a table on an Excel sheet that I use for adding and tracking expense payments.

    Two of the table columns have a function above the header column to sum the column ("J4")
    =SUBTOTAL(9,J6:J1048576)

    I have created a userform which would allow me to add data to the next available empty row.
    This code is
    Dim LastRow as Long
    Set ws = Sheets("Expenses")
    LastRow = ws.Range("A" & Rows.Count.End(xlUp).Row + 1
    ws.Range("J" & LastRow).value = DEBITTEXTBOX.value
    The userform includes textboxes formatted for UK currency input with before and after update event coding

    The problem I am encountering is that on running the Save code, while the "values" are saved into the correct column, the entered amount does not change the value in J4.

    Any help would be greatly appreciated.
    Last edited by davesexcel; 08-26-2020 at 01:54 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 400 Error when trying to Paste into an Excel Table
    By eddieperu in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2020, 12:20 AM
  2. [SOLVED] Move data from a userform to a table but getting error
    By colin7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2020, 02:16 PM
  3. Put image in userform from Copy/Paste - Mismatch error
    By Ched_B in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-29-2017, 10:03 AM
  4. [SOLVED] Runtime error '13' type mismatch when posting userform entries to excel table
    By Deventre in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-28-2016, 11:32 AM
  5. Userform, Search, copy an paste data from a userform database to another sheet.
    By masro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2015, 02:42 PM
  6. Copy visible cells in filtered table and paste in userform textbox - email
    By pfeifferjoey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2014, 11:23 AM
  7. [SOLVED] using VBA to copy paste table when cell value - VBA error
    By brdstyle in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-28-2013, 01:58 AM

Tags for this Thread

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