+ Reply to Thread
Results 1 to 5 of 5

simplify code VBA

  1. #1
    Registered User
    Join Date
    12-23-2015
    Location
    france
    MS-Off Ver
    2013
    Posts
    41

    simplify code VBA

    Hello;
    my problem is that I have a userform with several textbox( CA1....CA13 ; CHA1...CHA13; EMT1...EMT13; C1....C13; AL1...AL13; I want my textbox accepts only numeric values.
    i have this code but i want simplify this code and don't repeat every textbox:

    Please Login or Register  to view this content.

  2. #2
    Forum Guru jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: simplify code VBA

    Hi nizar2016

    Check out this Link...need help adapting let me know.

    http://www.ozgrid.com/forum/showthread.php?t=80631
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    01-08-2016
    Location
    Cagayan De Oro City, Philippines
    MS-Off Ver
    2013
    Posts
    152

    Re: simplify code VBA

    Nice example, i didnt realize it was that simple to do , i always hated having to manually add code to each control haha......

  4. #4
    Registered User
    Join Date
    12-23-2015
    Location
    france
    MS-Off Ver
    2013
    Posts
    41

    Re: simplify code VBA

    Thank youu"jaslake " good exemple

  5. #5
    Forum Guru jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: simplify code VBA

    You're welcome...glad I could help.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. [SOLVED] Is there a way to simplify my code?
    By lubbamkt in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-08-2014, 04:09 PM
  2. How to simplify code?
    By RaquelAR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2013, 07:30 AM
  3. [SOLVED] Simplify VBA Code
    By Sky188 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2012, 02:31 PM
  4. Need to simplify code
    By alexwren in forum Excel General
    Replies: 7
    Last Post: 08-15-2006, 03:07 PM
  5. Simplify Code
    By Soniya in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2006, 01:59 PM
  6. [SOLVED] Simplify this code
    By Scott in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2006, 12:00 AM
  7. [SOLVED] simplify code
    By matt in forum Excel General
    Replies: 3
    Last Post: 09-28-2005, 07:05 PM

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