+ Reply to Thread
Results 1 to 6 of 6

adding prefix and suffix macro

  1. #1
    Registered User
    Join Date
    01-06-2007
    Posts
    13

    adding prefix and suffix macro

    Hi. I wonder if anybody can help me in tracing a script to add a prefix text ( or suffix ) to an entire column, I use to have a VBA script for it but now lost

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Do you really need a macro ...?
    What about concatenation ...
    =A1&B1&C1
    HTH
    Carim


    Top Excel Links

  3. #3
    Registered User
    Join Date
    01-06-2007
    Posts
    13

    Wink

    Quote Originally Posted by Carim
    Hi,

    Do you really need a macro ...?
    What about concatenation ...
    =A1&B1&C1
    Kind of you to suggest but I used to have the macro for it as I'm adding a text as a prefix and suffix and I'm not sure hw to use your tip not being excel master.

    Basically creating metatags to a series of data in my database so for each cell I have to put <META NAME="Keywords" content=" as a prefix and "> as suffix
    This to apply the entire column

    I remember I used to do it in 2 times using the same script which did ask for a text to add as prefix or suffix

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by justix
    Kind of you to suggest but I used to have the macro for it as I'm adding a text as a prefix and suffix and I'm not sure hw to use your tip not being excel master.

    Basically creating metatags to a series of data in my database so for each cell I have to put <META NAME="Keywords" content=" as a prefix and "> as suffix
    This to apply the entire column

    I remember I used to do it in 2 times using the same script which did ask for a text to add as prefix or suffix
    Hi,

    Please Login or Register  to view this content.
    should do that for you, adjust the column if it is not A

    hth
    ---
    Si fractum non sit, noli id reficere.

  5. #5
    Registered User
    Join Date
    01-06-2007
    Posts
    13
    Quote Originally Posted by Bryan Hessey
    Hi,

    Please Login or Register  to view this content.
    should do that for you, adjust the column if it is not A

    hth
    ---
    Much Appreciate thanks!!!

  6. #6
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by justix
    Much Appreciate thanks!!!
    np - I presume that you didn't want any blank cells prefixed.

    ---

+ 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