+ Reply to Thread
Results 1 to 5 of 5

Dynamically Generated Form And Their Click Events

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    4

    Dynamically Generated Form And Their Click Events

    Hello..

    I have created one dynamic form using excel vba
    now i want to access the textbox value written by user in excel sheet with button click event..
    i tried lots off but i can't get textbox value


    Plz help me
    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Dynamically Generated Form And Their Click Events

    To assign values from spreadsheet to Textbox

    Please Login or Register  to view this content.
    To reverse it

    Please Login or Register  to view this content.
    (Or am I missing something ?)
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    07-11-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Dynamically Generated Form And Their Click Events

    But i can't use TextBox.Text in class module

    It gives Compiler Error
    Method of Data member not found

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644
    If you are dynamically creating the form and controls you'll need to dynamically create the code for the controls.
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    07-11-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Dynamically Generated Form And Their Click Events

    Thanks a lot...
    i solve that issue

+ Reply to 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