+ Reply to Thread
Results 1 to 3 of 3

Macro for searching for a Word and If found append some more data steps to that cell

  1. #1
    Registered User
    Join Date
    03-21-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Macro for searching for a Word and If found append some more data steps to that cell

    Hi,

    I have a Excel sheet with different data in the rows.

    I need to search for a particular word and if found i need to append the data in the column along witthe existing data.Can I write a macro for doing this job. I need to do some 400 times.

    For example:

    Input:
    A1: Open the Application and Login
    A2: Use the Data in application
    A3: The Login Application needs to be activated


    Now whereever I find the word Login I need to append the following data stpes to that particular cell

    Step1:Open URL
    Step2: Enter UserID and Password

    Output:
    A1: Open the Application and Login
    Step1:Open URL
    Step2: Enter UserID and Password
    A2: Use the Data in Application
    A3: The Login Application needs to be activated
    Step1:Open URL
    Step2: Enter UserID and Password





    Thanks

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro for searching for a Word and If found append some more data steps to that c

    hi, please check attachment
    Attached Files Attached Files

  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,447

    Re: Macro for searching for a Word and If found append some more data steps to that c

    This demonstrates the principle though it may need to be made more generic:

    Please Login or Register  to view this content.

    Regards
    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


+ 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