Submit Excel Data to Another Workbook withj Condition

  • MODERATOR NOTICE: This topic has also been posted on other sites and may already have an answer elsewhere. Please take this into consideration when answering this question

    Hello Everyone,


    I am kinda new to this VBA programming so I am wondering if someone could help me with this simple problem.

    So I have a time and motion study tracker with start, end and submit button button. I managed to worked on start and end.

    But I am struggling to submit an specific data to my masterfile. In my workbook. I have a dropdown selection of status.. If the value of the dropdown is Pending, then those cases should be submitted in my Archive workbook when I hit the Submit button and the status in my last column will be updated to Submitted. So it will exclude those cases on my next submission and should not overlap the data in master file.


    Below is my screenshot of source and masterfile and also my codes.


    Thank you in Advance!


  • It would be much easier and more efficient if the columns matched in each workbook. Simply rearranging them in the daily workbook would improve this task.


    Also, consider using Excel Tables:


    Overview of Excel Tables.

  • rory

    Added the Label Cross Post

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!