+ Reply to Thread
Results 1 to 5 of 5

Do Loop/Function/VB/Macro to automate system description ID entry

  1. #1
    Registered User
    Join Date
    09-29-2012
    Location
    Rome, GA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Do Loop/Function/VB/Macro to automate system description ID entry

    Automating System ID's 093012.docm

    I need a do loop, function, vb code, or macro that will index through the SEARCHVAR (col A) and find items that contain the text in SYSDESC (col D) and replace SYS (col C) with the associated contents of SYSID (col B). Columns “A” & “B” can be in separate worksheets if needed. The goal is to automate assigning the System that each row of data belongs. The “A” col contains the search items and will need to be expandable.

    Thanks,

    Shag..

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Do Loop/Function/VB/Macro to automate system description ID entry

    Why post a word document for an Excel problem?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-29-2012
    Location
    Rome, GA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Do Loop/Function/VB/Macro to automate system description ID entry

    Good question - call me overly cautious, just making sure I don't get a case of "happy fingers" and send out a spreadsheet with sensitive information...

    Shag...

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Do Loop/Function/VB/Macro to automate system description ID entry

    That's actually a reason I understand ...

    See attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-29-2012
    Location
    Rome, GA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Do Loop/Function/VB/Macro to automate system description ID entry

    shg, really appreciate your work...

    Your routine gives me what I need - nearly. I'm attaching a spreadsheet that may make clearer what I would like as the end result.

    The attached spreadsheet "Test Example Query" contains 2 worksheets: "ALM Report" and "Lookup Key." I need to populate the ALM Report "SYS" col (A) with Lookup Key "SYSID" col (B), matching text in ALM Report "DESCRP" col F. I need to be able to add additional items in the Lookup Key worksheet..

    Thanks,

    Shag..
    Attached Files Attached Files

+ 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