How to force paste as formulae?

Kelvin Stott

Active Member
Joined
Oct 26, 2010
Messages
338
Hello VBA experts,

How can I disable all paste special options EXCEPT for paste as formulae, so that pasting won't mess up comments, formatting & validation, etc.?

Also, how can I convert standard paste operation into paste as formulae?

Please help!

Thank you,
Kelvin
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Re: How to force paste as formulas?

I tried the above, but it's not quite what I'm looking for. I just want to convert the standard "Paste" menu option into automatic "Paste as formulas". I tried different variations of the following, but none of them worked:

Code:
CommandBars(1).Controls("Edit").Controls("Paste").Enabled = x1PasteFormulas

What am I doing wrong?
 
Last edited:
Upvote 0
Re: How to force paste as formulas?

Code:
CommandBars(1).Controls("Edit").Controls("Paste").Enabled = x1PasteFormulas

Please, can anyone help me correct the syntax in this one line of code?? :)
 
Upvote 0

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,166
Latest member
hokjock

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