+ Reply to Thread
Results 1 to 2 of 2

Mismatch in VBA on TextBox

  1. #1
    Registered User
    Join Date
    11-16-2009
    Location
    America
    MS-Off Ver
    Excel 2007
    Posts
    2

    Mismatch in VBA on TextBox

    Using Excel 2007 but I don't think this is a 2007 specific problem:

    I have added an ActiveX Textbox which I named "ResultsBox" to sheet3 that I am attempting to copy date into from a range.

    The issue is that I have declared a variable to be a textbox and when setting the variable to the textbox on sheet3 and try to use it later in the code, I get a Type Mismatch on this line:

    Set x = Sheet3.ResultsBox

    I am sure I am missing something obvious. Any thoughts?

    Please Login or Register  to view this content.
    Last edited by seeks4truth; 11-16-2009 at 02:58 PM.

  2. #2
    Registered User
    Join Date
    11-16-2009
    Location
    America
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Mismatch in VBA on TextBox

    I worked it out as such:

    Please Login or Register  to view this content.

+ 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