+ Reply to Thread
Results 1 to 9 of 9

How can I make this code shorter by using a loop. or there's any easier shorcuts code

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    How can I make this code shorter by using Lookup and goto functions cause im really new

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    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.

    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)

  3. #3
    Registered User
    Join Date
    03-06-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    sorry my mistake sir... i already edit thanks a lot

  4. #4
    Registered User
    Join Date
    03-06-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    done sir sorry for my mistake

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    You may try:
    Please Login or Register  to view this content.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  6. #6
    Registered User
    Join Date
    03-06-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    sir thanks for the code.. but it cant run when i type item code 1-10 it always error

  7. #7
    Registered User
    Join Date
    03-06-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    Sir this is how it look's like i made an illustration
    vba.jpg

  8. #8
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    What is the error?

  9. #9
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: How can I make this code shorter by using a loop. or there's any easier shorcuts code

    Too bad you posted two identical threads.
    Please read carefully forum rules: http://www.excelforum.com/forum-rule...rum-rules.html and follow them.
    My answer for the question from the closed thread is:

    Please Login or Register  to view this content.
    Best Regards,

    Kaper

+ 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. Is there a way to make my code shorter?
    By Angelfish13 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2013, 01:23 PM
  2. Make VBA code shorter
    By juanrmz24 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-25-2013, 12:11 PM
  3. [SOLVED] how to make a long line of VBA code shorter...
    By minifreak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2012, 12:02 PM
  4. Make code shorter
    By Aquila in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2010, 11:09 PM
  5. [SOLVED] How to make the code to print 250 cells t o another sheet more shorter
    By nader in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2007, 01:36 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