+ Reply to Thread
Results 1 to 11 of 11

adding " border="0" /> to whole column

  1. #1
    Registered User
    Join Date
    10-06-2008
    Location
    st pete florida
    Posts
    7

    adding " border="0" /> to whole column

    I need help adding " border="0" /> to every cell in a colum of 3000 is there a way of doing this.
    Thanks in advance

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    =A1&"border=""0"" />"
    Paste special values to remove the formula

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-06-2008
    Location
    st pete florida
    Posts
    7
    i dont want to remove that formula i want to add to my formula

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Quote Originally Posted by joelw View Post
    i dont want to remove that formula i want to add to my formula
    ??
    You didn't post a formula.

    VBA Noob

  5. #5
    Registered User
    Join Date
    10-06-2008
    Location
    st pete florida
    Posts
    7
    sorry every one of them says

    <img src="http://www.watchwholesalers.com/webservice/imaging/product/200/350/pic1.jpg
    <img src="http://www.watchwholesalers.com/webservice/imaging/product/200/350/pic2.jpg
    <img src="http://www.watchwholesalers.com/webservice/imaging/product/200/350/pic3.jpg

    I want to add " border="0" /> to the end of every single one of them so it would look like this:
    <img src="http://www.watchwholesalers.com/webservice/imaging/product/200/350/pic1.jpg" border="0" />
    <img src="http://www.watchwholesalers.com/webservice/imaging/product/200/350/pic2.jpg" border="0" />
    <img src="http://www.watchwholesalers.com/webservice/imaging/product/200/350/pic3.jpg" border="0" />

    can this be done as a group or do i have to change them one by one

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If the first one started in A1 add my formula to B1 and drag down.

    VBA Noob

  7. #7
    Registered User
    Join Date
    10-06-2008
    Location
    st pete florida
    Posts
    7
    ok well what happens if there is something in b1 already? insert a column after a1?

  8. #8
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Change A1 ref in the formula to B1

  9. #9
    Registered User
    Join Date
    10-06-2008
    Location
    st pete florida
    Posts
    7
    how would i do that? can i get an example its actually n3 is the cell with the jpg files in it

  10. #10
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Joel,

    Try this if you have data in columns A, B, C, etc. If your original, incomplete tags are in column A, starting in A1:

    1. Insert a column after A (becomes a new column B).
    2. In B1, put the formula
    =A1&""" border=""0"" />"
    3. Fill that down to Bxx, where xx = your last row of tags in column A. That should give you the results you need. One last step...
    4. Select your new values in column B, e.g. B1:B100, then click Edit -> Copy, then Edit -> PasteSpecial -> Values. This will convert column B into values rather than formulas. You can then delete column A.

  11. #11
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    find .jpg

    replace

    .jpg" border="0" />

    perhaps?

+ 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. macro (FOR loop and IF's)
    By matino in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2008, 09:10 AM
  2. Adding a new column at the end based on the first row
    By nickyboyc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2008, 04:49 AM
  3. Adding a year to all the dates in a column
    By brianpaul in forum Excel General
    Replies: 4
    Last Post: 05-01-2008, 01:21 PM
  4. VBA; find string and copy
    By Bill Rudd in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-06-2008, 10:41 PM
  5. Copying one column, and adding another column
    By captain in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2008, 11:40 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