+ Reply to Thread
Results 1 to 6 of 6

Moderate working code to be shorter

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Moderate working code to be shorter

    Hi I Would like to have some help to make this below code shorter. Its working and I have not been able to do it different.
    But its really big code and for sure it can be made shorter.

    Please have a look and see if you can help

    Sincerely

    Abjac

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor lancer102rus's Avatar
    Join Date
    04-02-2014
    Location
    Ufa
    MS-Off Ver
    Excel 2010, 2013
    Posts
    252

    Re: Moderate working code to be shorter

    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Moderate working code to be shorter

    Try
    Please Login or Register  to view this content.
    If only cell format then simply
    Please Login or Register  to view this content.
    Last edited by jindon; 08-19-2014 at 05:26 AM.

  4. #4
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Moderate working code to be shorter

    Hi and thanks to both of you.

    I checked both codes to make it more special I have below test sheet. Its some I had problems with,.And I need to be sure it can do it here.

    Yours Lancer I cant make it work on this test sheet. And yours Jindon it works perfect, but I need it not to fill out the empty cells. Can that be changed? It can be sometimes, there is empty cells on some times empty columns and in this case I shall not have the zeroes. Because after I have to make a csv file.
    Please have a look at the test sheet I upload here

    Thanks

    Abjac
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Moderate working code to be shorter

    Did you try my second code?

    If the other...
    Please Login or Register  to view this content.
    Last edited by jindon; 08-19-2014 at 06:06 AM.

  6. #6
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Moderate working code to be shorter

    Hi Jindon that did the trick the code work brilliant.

    Thanks allot really great

    Have a nice day.

    Sincerely
    Abjac

+ 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. how to do grouping in shorter code
    By lubbamkt in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-23-2014, 12:05 AM
  2. [SOLVED] How can I make this code shorter by using a loop. or there's any easier shorcuts code
    By romarkevinruiz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-10-2014, 08:53 AM
  3. [SOLVED] Help to moderate code shorter
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-14-2013, 02:08 PM
  4. [SOLVED] Trying to change verbose looping code into more efficient (and shorter) code please
    By dawatcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2013, 07:43 AM
  5. making code shorter
    By hvalhund in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2011, 11:58 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