event macro to click data in one document and instantly copy it on another?

Garudaeph

New Member
Joined
Jul 23, 2012
Messages
1
noob at excel and no experience with visual basic.

what code would I need to create a macro program where I click or double click data in a cell, and it would copy and paste into a cell into a different excel document? this is possible I hope?

I have a list of commodities on a spreadsheet (some text) and I would like to click on a certain commodity, and make it paste on a different excel document, after which I could do calculations for pricing, which I know how to do.

Thank you - any help is appreciated.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Welcome to the forum!

what code would I need to create a macro program where I click or double click data in a cell, and it would copy and paste into a cell into a different excel document? this is possible I hope?
In principle, this is possible using the SelectionChange or BeforeDoubleClick events’ handlers. However, the provided details are general and broad, and insufficient to formulate a proper response.

Posting sample data/file would help you to clearly explain what you want to achieve and help other members to respond.

To post a file, upload it to any file hosting site (mediafire.com, box.com, etc.) and post the link.
 
Upvote 0

Forum statistics

Threads
1,215,220
Messages
6,123,695
Members
449,117
Latest member
Aaagu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top