Closed Thread
Results 1 to 3 of 3

How to identify txtbx.value

  1. #1
    Registered User
    Join Date
    09-24-2003
    Posts
    62

    How to identify txtbx.value

    I have a userform.textbox with a subcommand _exit(MyVal......) that calls a module.

    in that module I want to indentify the textbox.value of which ever textbox I call it from.

    I'v tried many diffferent ways and think I am closer to my goal with application.caller but still can't get it to work.

    I am getting error "sub or function not defined"

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Why don't you stick to your original thread so everyone else can see what has already been suggested?

    http://www.excelforum.com/excel-prog...in-module.html

    If you check VBA Help on Application.Caller you will see that you can't use it as you wish as it will return an error in such circumstances...
    Richard Schollar
    Microsoft MVP - Excel

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Zygoid

    Please continue with your original thread

    RichardSchollar
    Thanks for pointing out this is a cintunation of another thread


    Thread Closed
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

Closed Thread

Thread Information

Users Browsing this Thread

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

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