+ Reply to Thread
Results 1 to 21 of 21

Adding a value textbox to a userform

Hybrid View

  1. #1
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,322

    Re: Adding a value textbox to a userform

    You can only have one initialise event per userform.
    the third row in code below reads the cell AM1 in sheet2
    see demo file

    Option Explicit
    
    Private Sub UserForm_Initialize()
    LoadComboBox 
    ClearForm
    Me.TextBox1.Value = Sheet2.Cells(1, 39).Value
    End Sub
    Attached Files Attached Files

+ 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. [SOLVED] Userform Listbox updating and adding values using Textbox
    By zubinnajmi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-16-2019, 12:55 PM
  2. Adding Textbox as cooltiptext in a front of frame on userform
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-22-2019, 05:21 AM
  3. Creating Shapes and adding UserForm with Textbox [in Loop]
    By JonasBig2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2018, 11:23 PM
  4. Adding figures in userform textbox formatted as Euro
    By TG58 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2016, 03:37 AM
  5. Adding figures in userform textbox formatted as Euro
    By TG58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2016, 08:49 AM
  6. Calculating/adding userform textbox values based on combobox selection and display to cell
    By SpreadsheetGirl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2015, 08:57 AM
  7. adding consecutive number to userform textbox
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-10-2008, 09:04 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