Results 1 to 4 of 4

Merging Duplicate Cells

Threaded View

RogerDunham Merging Duplicate Cells 02-17-2011, 11:46 AM
6StringJazzer Re: Merging Duplicate Cells 02-17-2011, 03:29 PM
RogerDunham Re: Merging Duplicate Cells 02-17-2011, 05:32 PM
6StringJazzer Re: Merging Duplicate Cells 02-17-2011, 05:54 PM
  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    Waterloo, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    5

    Merging Duplicate Cells

    Hello,

    I'm trying to write a Macro where a user selects a column, runs the macro, and it will scan downwards for duplicate row values and merge the cells.

    So if A1, A2, A3 were all 27, I want to merge the cells and center align vert/horizontal keeping one instance of the value 27 in Cell A(123), and it would continue scanning down the column merging duplicates until a row with no value occurs.

    As an aside, is there a good resource to quickly learn VBA syntax? I know Java/C++ but I'm just lost with VBA syntax (variable types / declaration, how to perform operations on cell ranges/selections, etc.).

    Thanks,
    Roger

    (Using Excel 2003 if that matters, I don't believe it has a Merge&Center function)
    Last edited by RogerDunham; 02-17-2011 at 11:51 AM.

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