+ Reply to Thread
Results 1 to 6 of 6

Make code shorter

  1. #1
    Registered User
    Join Date
    02-09-2010
    Location
    brussels
    MS-Off Ver
    Excel 2003
    Posts
    63

    Make code shorter

    Hello there,

    Can somebody help me out with shrotening following code please? Can't find a solution.

    Please Login or Register  to view this content.
    Many thanks!

    Aquila
    Last edited by Aquila; 03-22-2010 at 07:09 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Make code shorter

    Hi

    How about

    Please Login or Register  to view this content.
    rylo

  3. #3
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Make code shorter

    Try this.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Make code shorter

    maybe like this:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-09-2010
    Location
    brussels
    MS-Off Ver
    Excel 2003
    Posts
    63

    Re: Make code shorter

    Whow...

    Thank you guys for quick response!!
    rylo and teylyn your code works fine.
    mdbct you code works but the range is not ok.

    Anyway many thanks for the small code!
    Problem solved

    grts
    Aquila

  6. #6
    Registered User
    Join Date
    02-09-2010
    Location
    brussels
    MS-Off Ver
    Excel 2003
    Posts
    63

    Re: Make code shorter

    Hello,

    one more question about this,

    I drawed line's in the ranges and also want them to change color.
    How can i reach them? i've tried many ways but always i get an error massage.
    .drawing.color
    .lines.color
    ...?

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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