MS Access Macro for paste whole table from clipboard

Hi, What I'm trying to do is a button for pasting the last copied in the clipboard into a table, manualy it does what I want by selecting the table right click and Paste,
I did this code below will paste into a textBox but my intention is to paste in the table
Private Sub Command100_Click()
On Error Resume Next
   DoCmd.RunCommand acCmdPaste
   Exit Sub
Roland MallukAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can't run code that interacts with a table in this manner, so you can't do this from a table's Datasheet view.

You can create a datasheet form, and you can then copy/paste into a specific "cell" on that form using code like that. IMO, however, you're far better off doing this with standard Windows Cut/Copy/Paste methods, rather than a button click.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Roland MallukAuthor Commented:
Thanks for the prompt reply anyway what I'm trying to do is  to have command button will auto type text into boxes from already specific open webpage based on the word before and the word after
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.