Consulting

Results 1 to 5 of 5

Thread: merge by vba

  1. #1
    VBAX Regular
    Joined
    Feb 2012
    Posts
    29
    Location

    Cool merge by vba

    I have values in cells
    61A
    61A
    61A
    61B
    61B
    61B
    61C
    61C
    61C

    I want to merge by*vba*61A in one group*
    61B and 61C as well. These values might be different base on result.
    It can be increased or decreased.

    Can any one tell me code of*vba

  2. #2
    VBAX Regular Sixthsense..'s Avatar
    Joined
    Dec 2012
    Location
    India
    Posts
    15
    Location
    A simple Pivot Table will do it for you

  3. #3
    VBAX Regular
    Joined
    Feb 2012
    Posts
    29
    Location

    Cool

    Quote Originally Posted by Sixthsense.. View Post
    A simple Pivot Table will do it for you
    But i need by vba code not by pivot table

  4. #4
    VBAX Regular Sixthsense..'s Avatar
    Joined
    Dec 2012
    Location
    India
    Posts
    15
    Location
    Since your shown data consist only single column, so in this case the Remove Duplicates will do it for you.

    Use Macro Recorder and try Remove Duplicate method.

  5. #5
    VBAX Regular
    Joined
    Feb 2012
    Posts
    29
    Location
    These are 9 cells and cells can be increased base on value.
    You can put different values are same values in other columns. I need this first column to be merge. Select 61A and merge it to show single value with three cells in 2nd column but in vba.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •