+ Reply to Thread
Results 1 to 8 of 8

using macro to check worksheet if data input in another worksheet exist.

  1. #1
    Registered User
    Join Date
    12-19-2011
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    6

    using macro to check worksheet if data input in another worksheet exist.

    Hi there,
    noobie here require some help.

    i have a worksheet " Stop" range c3, i need to use this data in c3 to check worksheet " view" range A2 ( check only A2:A )onwards till the last, if there is this match.
    if it does not match, it will prompt msg" Error" or something like that.

    i am not sure if my explaination is clear, anyway if anyone who can help will be appreciated.

    i have attached a sample.
    i am totally noob in VB so.. pardon me on my code.


    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: using macro to check worksheet if data input in another worksheet exist.

    see the attached file and open the "stop file" then put the value in "C3" then click on "Check your result" button.
    then i think you got your desired answer....

    hope this code will useful for you....

    otherwise tell me if there is any problem....

    Regards
    CA Mahaveer Somani
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-19-2011
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: using macro to check worksheet if data input in another worksheet exist.

    Thanks this is also 1 possible way, however if i need to control using only the ok button at the "Stop" worksheet, instead of additional "Check your result" button.
    is it possible.. thanks again for your help

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: using macro to check worksheet if data input in another worksheet exist.

    check the attached file dear and reply

    Regards
    CA Mahaveer Somani
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-19-2011
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: using macro to check worksheet if data input in another worksheet exist.

    Thanks it work,
    thanks very much...
    learn something new today.

  6. #6
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: using macro to check worksheet if data input in another worksheet exist.

    welcome dear....
    if your query solved then go to top on this tread then open tread tool and hit the solved.....
    for user's reputation hit the Star button....on left side

  7. #7
    Registered User
    Join Date
    12-19-2011
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: using macro to check worksheet if data input in another worksheet exist.

    it solve the initial problem, however there are new problem, lol.

    at the start sheet, i can input the info and it will capture and transfer to View Sheet.
    this can be done countless time. ( which i manage to get it done correctly )
    however at stop Sheet, it will only transfer or capture the info to View by check if " Employee Number (Stop) " have been update or not.
    if it have been update, it will check next row and transfer the date if it is empty. ( which i am unable to figure it out. )
    any help will be appreciated...

    a quick info about this marco that i have created is that i need to capture the work order# in column 1, the Employee can start the job and end it with the Qty that they complete.
    and they should be able to create the same work order the next day and stop the job with the remaining qty that they complete.
    this is the concept for this Marco. as i need to capture the number of minutes taken to complete the job.

    actually if there is a ready soultion i would welcome that also.. hehe

    Thanks
    Regards
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-19-2011
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: using macro to check worksheet if data input in another worksheet exist.

    anyone can help on this?

+ 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