+ Reply to Thread
Results 1 to 8 of 8

adding ".jpg" to an entire column

  1. #1
    Registered User
    Join Date
    08-03-2005
    Posts
    4

    Cool adding ".jpg" to an entire column

    Hello all, I have a simple task that is very time consuming. I have a column (column B) that has part numbers in it. I also use the part numbers for the pictures on my website. I need to add a .jpg to every part number in that column and theres quite a few rows. Any help would be appreciated!

    Thanks!

  2. #2
    Registered User
    Join Date
    08-03-2005
    Posts
    4
    Please help... I need this done tonight... I swear ive tried it all

  3. #3
    Registered User
    Join Date
    08-03-2005
    Posts
    4
    Ill paypal $5 to the person that tells me

  4. #4
    Lomax
    Guest

    Re: adding ".jpg" to an entire column

    GaryK

    assuming the part numbers start in cell b1;
    Place this in c1 and fill down. =b1 & ".jpg"
    after you have completed the fill down you can copy and paste special values
    to remove the formulas.
    Hope this helps
    lomax
    "GaryK" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hello all, I have a simple task that is very time consuming. I have a
    > column (column B) that has part numbers in it. I also use the part
    > numbers for the pictures on my website. I need to add a .jpg to every
    > part number in that column and theres quite a few rows. Any help would
    > be appreciated!
    >
    > Thanks!
    >
    >
    > --
    > GaryK
    > ------------------------------------------------------------------------
    > GaryK's Profile:
    > http://www.excelforum.com/member.php...o&userid=25891
    > View this thread: http://www.excelforum.com/showthread...hreadid=392761
    >




  5. #5
    Forum Contributor
    Join Date
    02-26-2005
    Posts
    175
    Gary,
    If you want a macro try this, put it in a general module:

    Sub InsertStuffAfter()
    Dim cell
    For Each cell In Selection
    cell.Value = cell.Value & ".jpg"
    Next cell
    End Sub

    "Select the cells you want changed" and then run the macro.

    I believe Bob Philips gets the credit for this code.

    This help?
    Dave
    Quote Originally Posted by GaryK
    Hello all, I have a simple task that is very time consuming. I have a column (column B) that has part numbers in it. I also use the part numbers for the pictures on my website. I need to add a .jpg to every part number in that column and theres quite a few rows. Any help would be appreciated!

    Thanks!
    Last edited by Piranha; 08-04-2005 at 12:06 AM.

  6. #6
    Registered User
    Join Date
    08-03-2005
    Posts
    4
    Two good ways thanks,

    Email me both of your adress's and ill paypal it.

  7. #7
    Forum Contributor
    Join Date
    02-26-2005
    Posts
    175
    GaryK,

    Freebee buy yourself something.
    Glad it helped.

    Dave
    Quote Originally Posted by GaryK
    Two good ways thanks,

    Email me both of your adress's and ill paypal it.

  8. #8
    Registered User
    Join Date
    04-15-2013
    Location
    Louisiana
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: adding ".jpg" to an entire column

    Quote Originally Posted by Lomax View Post
    GaryK

    assuming the part numbers start in cell b1;
    Place this in c1 and fill down. =b1 & ".jpg"
    after you have completed the fill down you can copy and paste special values
    to remove the formulas.
    Hope this helps
    lomax
    "GaryK" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hello all, I have a simple task that is very time consuming. I have a
    > column (column B) that has part numbers in it. I also use the part
    > numbers for the pictures on my website. I need to add a .jpg to every
    > part number in that column and theres quite a few rows. Any help would
    > be appreciated!
    >
    > Thanks!
    >
    >
    > --
    > GaryK
    > ------------------------------------------------------------------------
    > GaryK's Profile:
    > http://www.excelforum.com/member.php...o&userid=25891
    > View this thread: http://www.excelforum.com/showthread...hreadid=392761
    >
    hello!

    I needed to do this today. I took a chance and google it -- found this site and bingo, it worked! Very cool.
    -Nancy

+ 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