![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
Hi everyone,,
Any shortcut key for Paste Special (Value) or else can I create a short cut key for it? Many thanks |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
You will need to create one, this should do the trick. Sub MakeValueOnly() Selection=Selection.Value End sub |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
ANY step to step guidance? as I am not good at macro...
|
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
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.
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
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? |
|
|
|
|
|
#6 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Oh, in that case use this
Sub MakeValueOnly() On Error GoTo EmptyClipB Selection.PasteSpecial xlValues Exit Sub EmptyClipB: MsgBox "Clipboard Empty" End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|