+ Reply to Thread
Results 1 to 4 of 4

Record ID

  1. #1
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Record ID

    I have a 'Customers' worksheet that has assigned ID numbers for each customer in column 'A'. These ID numbers are used on the Invoice worksheets to fill in the customer information. My question is once these are assigned to that customer can they remain with them even after sorting the records? I have had issues with duplicate entries with customers is why I am asking.

    If that is possible then could the 'Last NM' column be automatically sorted from A to Z when adding new records (customers)?

    This seems to be a tricky issue for me so I appreciate the step in the right direction.

    Any suggestions for my format is appreciated also.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Record ID

    Hi,

    It's not clear which of your macros 'adds new records'. But wherever it is the answer is Yes. Have you tried recording a macro to sort by last name. That will give you the guts of the code required which can then be modified and generalised as necessary.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: Record ID

    I do not have a macro to add new customer records yet. That would be a better way though. I have not tried any macros to sort by last name yet.

  4. #4
    Banned User!
    Join Date
    03-06-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    295

    Re: Record ID

    Okay this has me thinking now. Perhaps what I need is a macro that will lookup if the customer exists and if not add new row in 'Customers' worksheet.

    Not sure what lookup to have since there could be multiple customers with the same last names.

    Either way I do really appreciate the help thank you in advance.

+ 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. Userform Edit Record and GoTo record Command Buttons
    By 139runner in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-30-2020, 12:54 AM
  2. Sports Record Keeping Project: Turning weekly scores into full record sheets
    By oneidasfinest1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-31-2015, 09:26 PM
  3. simple macro to add new record, edit/ search and print record
    By xmoore in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2015, 08:10 PM
  4. Replies: 4
    Last Post: 12-17-2012, 10:14 AM
  5. Replies: 1
    Last Post: 11-16-2012, 09:25 AM
  6. Command Buttons for Viewing Record, Next Record and Previous Record
    By david1987 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-23-2012, 06:30 AM
  7. Replies: 1
    Last Post: 01-17-2012, 10:47 AM

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