+ Reply to Thread
Results 1 to 4 of 4

If Cell contains certain text of pivot table then Show Details on Adjacent Column

  1. #1
    Registered User
    Join Date
    08-08-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    If Cell contains certain text of pivot table then Show Details on Adjacent Column

    Hi Guys

    I am new to macro's and VBA so bear with me if my explanation isn't great.

    I am trying to write a macro where it searches column D for a particular text eg 'Sales Action' and if found to show the selection from the adjacent cell in Column E. This will open up a new workbook, I have a macro where this was done manually to a cell as an example:

    Please Login or Register  to view this content.
    Hope that makes sense.

    Kind Regards
    Ross
    Last edited by Cutter; 08-15-2012 at 11:35 AM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: If Cell contains certain text of pivot table then Show Details on Adjacent Column

    @ Barney1981

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

  3. #3
    Registered User
    Join Date
    08-08-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: If Cell contains certain text of pivot table then Show Details on Adjacent Column

    Thanks Cutter

    I will do that in future! I'm sure I'll be posting alot on here over the next few years.

  4. #4
    Registered User
    Join Date
    08-08-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: If Cell contains certain text of pivot table then Show Details on Adjacent Column

    Anyone have an idea on this one, broken down into stages it is as follows:

    Search Column "C" for text "example",
    If "example" is in the cell, 'show detail' of cell in column D in same row.

    Kind Regards
    Ross

+ 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