Short Cut Key???

chaju

Board Regular
Joined
Mar 24, 2002
Messages
82
Hi everyone,,

Any shortcut key for Paste Special (Value)
or else can I create a short cut key for it?

Many thanks
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi

You will need to create one, this should do the trick.

Sub MakeValueOnly()
Selection=Selection.Value
End sub
 
Upvote 0
Sure, Hold down the Alt key and push F11. Go to Insert>Module and then paste in the code. Hold down Alt and push Q Now again hold down the Alt key and push F8, select the macro name then click "Options" and assign a shortcut key.
 
Upvote 0
Thanks but I try to copy a cell with formula and press Ctrl+.. ,, i doesn't give me the value..

I guess it only works when transforming the formula into value..

Is that any further suggestion?
 
Upvote 0
Oh, in that case use this


Sub MakeValueOnly()
On Error GoTo EmptyClipB
Selection.PasteSpecial xlValues
Exit Sub
EmptyClipB:
MsgBox "Clipboard Empty"
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,525
Messages
6,120,051
Members
448,940
Latest member
mdusw

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