+ Reply to Thread
Results 1 to 8 of 8

Add the text "Group" to a range of cells to a specific sheet

  1. #1
    Registered User
    Join Date
    05-01-2023
    Location
    Singapore
    MS-Off Ver
    (Version 2302 Build 16.0.16130.20378) 64-bit
    Posts
    66

    Add the text "Group" to a range of cells to a specific sheet

    Hi experts!

    I currently got a few worksheets with strings in cells E1:J1.

    I want to add the word 'Group' to all those cells via one code.

    How can i do so?

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Add the text "Group" to a range of cells to a specific sheet

    Please Login or Register  to view this content.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,626

    Re: Add the text "Group" to a range of cells to a specific sheet

    Maybe:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,301

    Re: Add the text "Group" to a range of cells to a specific sheet

    I currently got a few worksheets with strings in cells E1:J1.
    I want to add the word 'Group' to all those cells via one code.
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Registered User
    Join Date
    05-01-2023
    Location
    Singapore
    MS-Off Ver
    (Version 2302 Build 16.0.16130.20378) 64-bit
    Posts
    66

    Re: Add the text "Group" to a range of cells to a specific sheet

    I think I should clarify, I already have strings in those cells.

    I think a better way to put it is I want to concatenate the word 'Group' into those cells, making those existing strings longer.

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,301

    Re: Add the text "Group" to a range of cells to a specific sheet

    And post 4 does just that...to all sheets...or is their only specific sheets etc etc etc...perhaps more clarity when posting...

  7. #7
    Registered User
    Join Date
    05-01-2023
    Location
    Singapore
    MS-Off Ver
    (Version 2302 Build 16.0.16130.20378) 64-bit
    Posts
    66

    Re: Add the text "Group" to a range of cells to a specific sheet

    Hi i think the code adds the word at the front. how can i edit it such that it adds the word at the back?

    Edit: I got. Just rearranged the address.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,626

    Re: Add the text "Group" to a range of cells to a specific sheet

    Or this:

    Please Login or Register  to view this content.


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Replies: 1
    Last Post: 08-31-2022, 07:56 AM
  2. Hyperlink click "cell text" to next sheet and auto filter by the "same clicked text" VBA
    By determinedtoexceed in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-26-2021, 06:27 AM
  3. [SOLVED] How to get specific "Text" value using IF condition with "Name Range"
    By bala04msw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2016, 01:56 AM
  4. [SOLVED] :confused: Auto pick "specific data" and put it in "specific cells" with date
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 08-27-2014, 03:31 AM
  5. Auto Pick Only "Specific Day & Date" & put in "specific cells" Vertically
    By pipsmultan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2014, 01:24 AM
  6. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  7. Replies: 0
    Last Post: 06-01-2006, 08:10 PM

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