+ Reply to Thread
Results 1 to 3 of 3

add prefix to filename - macro to loop down column

Hybrid View

  1. #1
    Registered User
    Join Date
    08-18-2006
    Posts
    3

    Red face add prefix to filename - macro to loop down column

    Hi! What's the best way to change a column of cells that contiain a filename such as myimage.jpg and add the full path -- http://www.mydomain.com/images/myimage.jpg?

    I assume some type of looping macro, but have spent way longer than I can afford to try and figure it out. Think this is an easy one for experienced users hopefully!

    Thanks for any input!
    Cindy

  2. #2
    Dave Peterson
    Guest

    Re: add prefix to filename - macro to loop down column

    How about just using a formula:

    ="Http://www.domain.com/images/" & a1

    and drag down

    Maybe better...

    =hyperlink(""Http://www.domain.com/images/" & a1,"Click me!")

    and drag down.

    cml0904 wrote:
    >
    > Hi! What's the best way to change a column of cells that contiain a
    > filename such as myimage.jpg and add the full path --
    > http://www.mydomain.com/images/myimage.jpg?
    >
    > I assume some type of looping macro, but have spent way longer than I
    > can afford to try and figure it out. Think this is an easy one for
    > experienced users hopefully!
    >
    > Thanks for any input!
    > Cindy
    >
    > --
    > cml0904
    > ------------------------------------------------------------------------
    > cml0904's Profile: http://www.excelforum.com/member.php...o&userid=37730
    > View this thread: http://www.excelforum.com/showthread...hreadid=573204


    --

    Dave Peterson

  3. #3
    Registered User
    Join Date
    08-18-2006
    Posts
    3

    thank you!

    thanks much, works perfect!

+ 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