+ Reply to Thread
Results 1 to 5 of 5

Grouping common file address into a string

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    66

    Grouping common file address into a string

    Hi

    Below are my current macro which work fine for me. I find out that the disadvantage was when the file location was change, I need to change the strDataOnePath and strDataTwoPath adress one by one.

    Please Login or Register  to view this content.

    Therefore, I try to group up the common address (which the code show below). I believe it will be much more easy to edit the file location if the file location been change. However, below code is not working. Please help

    Please Login or Register  to view this content.
    Best regards,
    KC

  2. #2
    Forum Contributor
    Join Date
    09-30-2013
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2007
    Posts
    229

    Re: Grouping common file address into a string

    What exactly is the problem with the code? The difference between the two sets is that you've added " ' " between the path & Sheetx.

  3. #3
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Grouping common file address into a string

    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,835

    Re: Grouping common file address into a string

    Is this how you wanted?
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-27-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Grouping common file address into a string

    Hi jindon,

    Thanks for helping. Code that you share is not workable for me.

    Hi millz,

    Thanks for helping. Your code is working Great for me.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Combining/merging rows when a common e-mail address is found
    By tmcinerny@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2013, 10:50 PM
  2. [SOLVED] Most common string in column with an exception
    By Bytor47 in forum Excel General
    Replies: 5
    Last Post: 04-11-2013, 07:46 AM
  3. Grouping rows based on common values
    By jfd456 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2012, 06:31 AM
  4. Find the lest common string-value in a range
    By ElmerS in forum Excel General
    Replies: 4
    Last Post: 02-01-2009, 06:25 PM
  5. COMMON PROBLEM split name, address, city, state and zip
    By JohnSeito in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-16-2008, 07:31 PM

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