Results 1 to 10 of 10

Modify in Userform using a variable in a function

Threaded View

alexgoaga Modify in Userform using a... 09-24-2018, 08:28 AM
romperstomper Re: Modify in Userform using... 09-24-2018, 08:40 AM
alexgoaga Re: Modify in Userform using... 09-24-2018, 08:48 AM
romperstomper Re: Modify in Userform using... 09-24-2018, 09:00 AM
alexgoaga Re: Modify in Userform using... 09-24-2018, 09:07 AM
romperstomper Re: Modify in Userform using... 09-24-2018, 09:17 AM
alexgoaga Re: Modify in Userform using... 09-24-2018, 09:23 AM
mikerickson Re: Modify in Userform using... 09-24-2018, 09:21 AM
alexgoaga Re: Modify in Userform using... 09-24-2018, 09:28 AM
mikerickson Re: Modify in Userform using... 09-24-2018, 09:34 AM
  1. #1
    Forum Contributor
    Join Date
    04-13-2017
    Location
    Buchares
    MS-Off Ver
    2016
    Posts
    117

    Modify in Userform using a variable in a function

    Hey guys,

    I have N userforms with variable names with X textboxes within.
    I want to create a function to call to do something to the userform with the name i desire / from where it has been called in a module.


    something like do_this (name_of_the_form, text_inserted_in_textbox, what_text_box)

    The problem is that i can't find a way to do something to a userform with a variable name. I've tried to search for it as object, error, declare it as string again resulted in an error.

    how i can reference to a Userform From String ? or something
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Run-time error '91': Object variable or With block variable not set when closing userform
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2016, 08:59 AM
  2. [SOLVED] Need help to modify Variable strDocPath to a Select files (Dialogwindow)
    By elmnas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2015, 12:52 PM
  3. How to modify a range variable? Should be very simple
    By hadamhiram in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2014, 06:01 PM
  4. Modify Macro for Variable Sheet Name
    By swarchol in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-04-2013, 07:03 PM
  5. [SOLVED] Modify statement to post a zero (0) in the cell when variable = 0 in the equation?
    By Jim15 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2013, 04:19 PM
  6. Excel VBA - Userform as Variable in a Function
    By ericchan1989 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-15-2011, 11:31 PM
  7. [SOLVED] Modify range variable passed through Function
    By spyd3r in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-14-2006, 07:25 PM

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