Results 1 to 4 of 4

Save data from UserForm textbox to a cell

Threaded View

  1. #1
    Registered User
    Join Date
    01-31-2022
    Location
    Mesa, AZ
    MS-Off Ver
    Office 365
    Posts
    46

    Save data from UserForm textbox to a cell

    I have a user form that pops up when someone enters rejected in a cell in row AA. I need the form to unload into the corresponding cell in column AE. Unsure of how to get this done.

    Private Sub Worksheet_Change(ByVal Target As Range)
        If Target.Column = 27 And Target.Value = "Rejected" Then 'column 27 is column AA
            REJECTED.Show 'replace UserForm1 with the name of your userform
            
            If Not Intersect(Target, Range("AE:AE")) Is Nothing Then
                With REJECTED
                    'TICKET ID
                    .REJECT.Value = Me.Cells(Target.Row, "AE").Value
                End With
            End If
        End If
    End Sub
    Not sure of how to get this done.
    Last edited by 6StringJazzer; 03-30-2023 at 03:27 PM. Reason: better titles please

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA Form Not Unloading / Memory Stuck - How to unload top form correctly
    By ironfelix717 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-20-2018, 10:28 PM
  2. [SOLVED] vba form to unload to row 2
    By Quicksnot in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 12-03-2013, 02:10 PM
  3. How to unload the form
    By Quicksnot in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-30-2013, 11:01 AM
  4. How to show/hide/unload form when form name is a string variable?
    By achmidt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2012, 06:21 PM
  5. Don't unload the form
    By benj in forum Excel General
    Replies: 0
    Last Post: 04-14-2005, 03:59 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