+ Reply to Thread
Results 1 to 2 of 2

using a variable to represent texbox name (activex textbox)

  1. #1
    Registered User
    Join Date
    06-16-2015
    Location
    Pittsburgh, PA
    MS-Off Ver
    Office 2013
    Posts
    1

    using a variable to represent texbox name (activex textbox)

    Folks,

    I trying to write a simple VBA procedure to check the contents of a many textboxes. After trying for sometime, I cannot get the following code to work. Any suggestions would be appreciated.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: using a variable to represent texbox name (activex textbox)

    Hi tp724 and welcome to ExcelForum,

    Thank you for using CODE TAGS. It is much appreciated.

    The following code will display information about all the shapes on the ActiveSheet on Sheet 'Log' in the ActiveWorkbook. Sheet 'Log' will be created if it doesn't already exist. This will display information about Shapes, Forms Controls, and 'Active X' controls.
    Please Login or Register  to view this content.
    Please feel free to ask if you have further questions or problems. It is easier to solve a specific problem if you upload a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    To access an 'Active X' control on a Sheet you need code like:
    Please Login or Register  to view this content.
    To access a 'Shape' or 'Forms Control' on a Sheet you need code like:
    Please Login or Register  to view this content.
    Lewis
    Last edited by LJMetzger; 06-16-2015 at 12:36 PM. Reason: Added 'Active X' example and Shape example

+ 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. Multi-Worksheet ActiveX Textbox to ActiveX Textbox Concatenate
    By HVE_Skynet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2014, 02:11 PM
  2. ActiveX Textbox to ActiveX Textbox Concatentate
    By HVE_Skynet in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-17-2014, 05:22 PM
  3. What does % represent when dimensioning a variable
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2014, 02:00 PM
  4. [SOLVED] showing message box if the result of texbox doesn't match with the range then clear texbox
    By hamidrezaxy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2013, 01:04 PM
  5. Textbox 2 Value is formula based on Texbox 1
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2007, 07:20 AM

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