• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

no of rows

sony123

Member
Hi,
i have an abc excel...and it is uploading xyz excel,that excel is writing into database...

iam uploading xyz excel into abc excel (using browse and upload command buttons)..

That xyz excel writes into database.....

Ex: if my xyz file has 100 rows...
While uploading read rows from xyz file is say 100...i need to display message like( no of rows read:100)
and the xyz excel is writing into database...
While inserting into database,no of rows inserted let us say 90 only..message( no of rows inserted :90)
If both are not same...pop up message some rows are not inserted...
and the failed records need to be displayed in separate sheet....
Thank you...
 

Attachments

  • Book1.xlsx
    7.7 KB · Views: 6
Sony123
SirJB7 was correct, You have saved a blank file!
Download it yourself and check
If you add code you must save the file as a *.xlsm or *.xlsb file type
 
Back
Top