+ Reply to Thread
Results 1 to 5 of 5

help with making vba code smaller

  1. #1
    Registered User
    Join Date
    11-16-2016
    Location
    Rochester, NY
    MS-Off Ver
    2013
    Posts
    3

    help with making vba code smaller

    I have the following code that I would like to make smaller perhaps by looping through. I tried doing a do while statement (cos < 6) but I couldn't figure out how to do the variable for the "cos_button_1.value". the "cos_button_"s are activeX option buttons.

    I would greatly appreciate any assistance.


    Please Login or Register  to view this content.
    Last edited by vendetta907; 11-17-2016 at 02:48 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: help with making vba code smaller

    I have a solution for you, but first:-



    Sorry My Freind, one of our moderators will be on your case for not using Code Tags.

    Few people will respond until you or a moderator insert the code tags.


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Last edited by mehmetcik; 11-17-2016 at 03:06 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-16-2016
    Location
    Rochester, NY
    MS-Off Ver
    2013
    Posts
    3

    Re: help with making vba code smaller

    Thank you for calling that to my attention.

    Fixed.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: help with making vba code smaller

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-16-2016
    Location
    Rochester, NY
    MS-Off Ver
    2013
    Posts
    3

    Re: help with making vba code smaller

    Thank you so much. Works like a charm.

+ 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] Workbook opens smaller after making userform
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2016, 11:39 AM
  2. Does Anyone have tips for making a spreadsheet smaller?
    By ExcelDavid in forum Excel General
    Replies: 2
    Last Post: 03-28-2014, 04:13 PM
  3. Making a file smaller
    By mlbdc2012 in forum Excel General
    Replies: 6
    Last Post: 03-05-2014, 10:19 AM
  4. Making files smaller
    By mikesimpson in forum Excel General
    Replies: 2
    Last Post: 12-28-2011, 01:11 PM
  5. Making this code smaller
    By roberto1111 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2009, 03:38 PM
  6. Making file size smaller
    By mrdata in forum Excel General
    Replies: 1
    Last Post: 04-18-2008, 05:58 PM
  7. Making Tab Sizes smaller or creating multiple rows of tabs.
    By kingbiscuit in forum Excel General
    Replies: 4
    Last Post: 03-05-2008, 04:44 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