+ Reply to Thread
Results 1 to 5 of 5

Problem in combining records having same address

  1. #1
    Registered User
    Join Date
    10-13-2008
    Location
    Bristol
    Posts
    19

    Problem in combining records having same address

    Hi All

    I am trying to combine records in a database whose address is same. Because husband and wife have the same address so I want to send only one newsletter to that family. My problem is to merge those records whose address field value is same.please find attached an excel sheet that contains the exact data and the desired result.
    Thank you in advance for assistance.
    Regards
    Raj
    Attached Files Attached Files
    Last edited by VBA Noob; 11-08-2008 at 10:59 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Raj

    Have you looked at the solutions that have been provided for your other, very similar, posts. And have you tried to adapt those solutions for this slightly different output format? If so, how about you show your code, and show where it was not meeting your requirements.

    Here's one, and a quick search shows that you have other solutions.

    rylo

  3. #3
    Registered User
    Join Date
    10-13-2008
    Location
    Bristol
    Posts
    19
    Hi Rylo
    I am not able to solve this problem for so long. The answer provided to me last time was working fine but this time it gives run time error '1004' Application Defined or Object Defined Error message. May be I am new in VB Programming and not able to solve this problem.Please find attached a worksheet and the code . This code is giving an error.Please have a look.

    Sorry to bother you again.Could you please send me the code to solve this problem?
    Thank you in abvance for your assistance.

    Regards
    Raj
    Attached Files Attached Files
    Last edited by Rajbrinder; 11-07-2008 at 06:55 AM.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Raj

    On your sheet data, you have some data in the range A2:H22, then a huge gap, some odd items in column I, some more gaps, then some more data in A4315:H4429.

    How much of this is valid data, and how much is a hangover from previous runs that hasn't been properly cleared? If it is valid, then you will have to do a sort on the data to get rid of the blank rows, and do a clean up of the missing data before you can progress. If you have partial data, and you want to include it, then fill the missing items with something like "FILLER" so when they get extracted, you will know that these are incomplete items that have to be reviewed.

    And if the previous posts have solved the questions raised in them, can you please revisit the posts, and marked them as SOLVED.

    rylo

  5. #5
    Registered User
    Join Date
    10-13-2008
    Location
    Bristol
    Posts
    19

    Smile

    Hi Rylo

    Many Thanks for your reply. Code is working perfectly fine and my problem is solved now. Thank u so much for your help.

    Cheers
    Raj

+ 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