+ Reply to Thread
Results 1 to 3 of 3

how to simplify setting controls in code

  1. #1
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    how to simplify setting controls in code

    i have the following code that i want to simplify but don't have the syntax correct:

    Please Login or Register  to view this content.
    and do something like this:

    Please Login or Register  to view this content.
    how can that be done?
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: how to simplify setting controls in code

    You can use:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to simplify setting controls in code

    thanks rorya, that did the trick

+ 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. Replies: 8
    Last Post: 11-20-2018, 01:53 PM
  2. [SOLVED] Simple VBA code to convert text to number (simplify/fix current code)
    By kenenthpaul0401 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2018, 10:47 AM
  3. Setting Printer controls with VBA
    By kjsconv in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-18-2013, 09:12 PM
  4. Setting properties of controls in vba
    By SuitedAces in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2007, 03:03 PM
  5. Setting a default format for controls
    By johncassell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2006, 02:00 PM
  6. Setting variables based on controls
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2006, 09:08 AM
  7. Form Controls; setting properties based on cell values
    By Glenn Ray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2005, 12:06 AM

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