Can I run a macro after i've pasted?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone

I'm having a few problems with people wanting to copy data from word and paste into a single cell in excel as excel wont do this the way they want to so i've created a textbox for them to paste into.

but what i need is for a macro called "Tide_up" to run after they have pasted

is it posible to have a macro run after the paste has happened? i cant use active x textbox as you cant right click paste into it.

any ideas would be helpfull.

Thanks

Tony
 
Thats excellent Jaafar,
thank you very much for your help.
This has made things much better.
Thanks
Tony
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Now just to be a pain, would it be possible to have two options Paste and paste values? some people do one some the other!

Thanks again for everything you have done

Tony
 
Upvote 0
Now just to be a pain, would it be possible to have two options Paste and paste values? some people do one some the other!

Thanks again for everything you have done

Tony

Unless I am missing something, only values can be pasted from the clipboard onto the textextboxes . Formatting is not pasted along ... Am I right ?
 
Upvote 0

Forum statistics

Threads
1,214,851
Messages
6,121,931
Members
449,056
Latest member
denissimo

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