+ Reply to Thread
Results 1 to 5 of 5

How to simplify Target.Address?

  1. #1
    Registered User
    Join Date
    04-21-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    How to simplify Target.Address?

    Hi everyone,

    I am following this forum for long time and found many times solution.
    Now is time for my question. I could not find answer anywhere.

    I have got list of products in column DK and pictures names in column DL (where picture name is =DK&".jpg")
    All the pictures are stored in P:\General\GADD\PICTURES\

    Pictures are displaying in comment window.
    Everything is working great, but I have got more than 400 lines of products.

    How simplify my code?
    Please Login or Register  to view this content.

    Thanks for any reply
    Last edited by Leith Ross; 04-21-2012 at 03:53 PM. Reason: Added Code Tags

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: How to simplify Target.Address?

    Hello londonpeter,

    Welcome to the Forum!

    Here is the condensed version...
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 04-21-2012 at 04:06 PM.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to simplify Target.Address?

    Hi londonpeter
    This is untested but you could try something like this
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: How to simplify Target.Address?

    Try:
    Please Login or Register  to view this content.
    Note: this is a duplicate of an identical post on mrexcel with similar solutions!
    Last edited by protonLeah; 04-21-2012 at 04:26 PM. Reason: cross posting without links
    Ben Van Johnson

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How to simplify Target.Address?

    The answers here look similar to those at http://www.mrexcel.com/forum/showthread.php?t=630275
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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