+ Reply to Thread
Results 1 to 4 of 4

Recording a macro that will take the date from master sheet and place in the appropriate

  1. #1
    Registered User
    Join Date
    06-15-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Recording a macro that will take the date from master sheet and place in the appropriate

    I am needing a macro written that will take data enter in the master spreadsheet and insert it in to the appropriate spreadsheet. What it comes down to is that i need to enter invoices into there appropriate sheet, which are different companys. Thank you for your time

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Recording a macro that will take the date from master sheet and place in the appropria

    Hello nsmith1,

    Welcome to the Forum!

    To help you with this, you will need to post a redacted version of the original workbook. It would also help if you include before and after examples and any comments needed to explain what you want done.

    To Attach a File:
    1. Scroll down to the window below your post Additional Options
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-15-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Recording a macro that will take the date from master sheet and place in the appropria

    JamesonCIP.xlsx

    here is the Excel File

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Recording a macro that will take the date from master sheet and place in the appropria

    Hello nsmith10 ,

    The attached workbook is an upgraded version of the one you posted. You didn't provide much detail about how you want this work, so I made changes based on my experience.

    There are 2 drop down lists on the "Enter Invoice" sheet for the AFE number and the company name. These lists are now dynamic named ranges. Any additions or deletions will show up immediately in the drop downs.

    The Invoice Date defaults to today if the cell is blank when selected. The user change the date if they desire to. The "Enter Invoice" worksheet is protected without a password. This prevents the user from clicking anywhere except the in the input areas. You can add a password later if you like.

    The button will copy the information entered by the user into the next empty row on the worksheet whose name matches the "AFE" entry. Any new worksheets will have to added manually and the lists updated accordingly. This process can be made automated later on, if that is a feature you would like to have added.

    Enter Invoice Macro Code
    Please Login or Register  to view this content.

    Enter Invoice Worksheet Selection Change Event Code
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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