• 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.

Form Result different if I Type a value versus Paste a value

Michael B

New Member
I have a form that allows a user to do some simple data entry typing names for example.
If I paste a name from another spreadsheet instead of typing it, the form result is different. Why?
....more detailed explanation...
When the user completes the data entry on the form and hits save, the code takes the items on the form and inserts them loops through the items on the form and adds them into the next empty row in a named sheet.
This works fine if the items are manually typed in.
If any of the text box data is copied and pasted into the form (from another workbook for example) and the user hits save, instead of inserting the data into the named sheet as above, the code inserts the data into a different sheet. This only seems to happen in run time and not when stepping through the code.
Has anyone heard of this?
Thanks...
 

On my side, the form does not care ! So the code is involved …

Just a bad code which doesn't respect TBTO rule : no issue if workbook and worksheet are specified to copy data !​
 
Last edited:

T
hink, But Think Object !



♪♫ as may sing Aretha Franklin like in Blues Brothers movie !
 
Back
Top