+ Reply to Thread
Results 1 to 2 of 2

Auto Copy > Paste Values

  1. #1
    Registered User
    Join Date
    06-14-2016
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    1

    Auto Copy > Paste Values

    Hiya,

    Not sure if I am in the right sub-forum but I will give it a crack.

    I do processing for an insurance company. When we process new clients, we have to allocate them an original policy number. We also have to provide them with a series of documents that contain information specific to the client (including the policy number).

    To do this, we have two workbooks.
    POLICY NUMBERS TO ALLOCATE.xlxs is used to find and allocate unused policy numbers. Column B contains the policy numbers, and column C is where you enter in the corresponding client name.
    DOCUMENTATION ENTRY SHEET.xlxs is the template we use to produce the required documentation. We enter the required information into the first tab, then print PDFs of the other 5 sheets. The allocated policy number is entered into F8 on Sheet1. We save a completed workbook template under each client name so we can go back and edit/reproduce documentation when necessary.

    Currently we are manually allocating the policy number in POLICY NUMBERS TO ALLOCATE.xlxs, then we are manually entering the number into DOCUMENTATION ENTRY SHEET.xlxs (F8).

    In order to automatically find the next available policy number and copy it into F8, I have entered the function =INDEX('POLICY NUMBERS TO ALLOCATE'!$B:$B,COUNTA('POLICY NUMBERS TO ALLOCATE'!$C:$C)) into (F8) DOCUMENTATION ENTRY SHEET.xlxs. This is working, however it continues to update. If the next available number is 12345, then every individually saved completed template that contains the above formula will produce 12345 in F8.

    IMO, the most basic solution to this is to manually Copy > Paste Values. However, having to remember to do this increases the margin for error and will most likely lead to multiple clients being allocated the same number.

    Is there any way I can make it so F8 automatically Pastes Values? Or perhaps produce an error message if the user has not done so themselves?

    Thank you in advance

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Auto Copy > Paste Values

    A simple Macro will do this for you however you have not explained how you update the workbook "POLICY NUMBERS TO ALLOCATE.xlxs".


    I have made some assumptions:

    This Macro may do the trick

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mehmetcik; 06-15-2016 at 04:55 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. auto copy paste 1 by 1
    By ash3angel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2015, 12:27 PM
  2. copy formula and paste for new data added and autofill.....and paste special values
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-13-2014, 07:40 AM
  3. Vba - find next empty column, insert column, copy paste values & copy paste formulas
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2012, 12:43 PM
  4. [SOLVED] Auto copy/paste?
    By ads2k12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2012, 05:19 PM
  5. Auto copy and paste value
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2011, 11:56 AM
  6. Cut/copy and auto-paste
    By duffsparky in forum Excel General
    Replies: 0
    Last Post: 05-06-2007, 07:29 AM
  7. Auto copy and paste
    By Tom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2006, 04:45 AM

Tags for this Thread

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