#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default changing F keyes


I used to have a keyboard with CUT, COPY & PASTE as single keystrokes. Now I
have a new keyboard without them, and I miss them. I want to make 3 adjoining
keyes (say F10, F11, F12) into SINGLE STROKE SHORTCUTS. I have achieved it
with Corel & Word but can't do it with Exel.
--
Thanks for any help....David Roper

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default changing F keyes

I wouldn't do this. I think you'll find that excel behaves better if you use
the built in shortcut keys--ctrl-x to cut, ctrl-c to copy and ctrl-v to paste.

Running macros can have effects that you don't want--one of these problems is
that the Undo and Redo stack is sometimes (usually!) killed.

But if you want, ...

You can use a macro to reassign your F keys:

Option Explicit
Sub ReassignF10()
Application.OnKey "{f10}", "'" & ThisWorkbook.Name & "'!NewF10"
Application.OnKey "{f11}", "'" & ThisWorkbook.Name & "'!NewF11"
Application.OnKey "{f12}", "'" & ThisWorkbook.Name & "'!NewF12"
End Sub
Sub BackToNormal()
Application.OnKey "{f10}"
Application.OnKey "{f11}"
Application.OnKey "{f12}"
End Sub
Sub NewF10()
On Error Resume Next
Selection.Cut
If Err.Number < 0 Then
Beep
End If
On Error GoTo 0
End Sub
Sub NewF11()
On Error Resume Next
Selection.Copy
If Err.Number < 0 Then
Beep
End If
On Error GoTo 0
End Sub
Sub NewF12()
On Error Resume Next
ActiveSheet.Paste
If Err.Number < 0 Then
Beep
End If
On Error GoTo 0
End Sub

droper wrote:

I used to have a keyboard with CUT, COPY & PASTE as single keystrokes. Now I
have a new keyboard without them, and I miss them. I want to make 3 adjoining
keyes (say F10, F11, F12) into SINGLE STROKE SHORTCUTS. I have achieved it
with Corel & Word but can't do it with Exel.
--
Thanks for any help....David Roper


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Max Antonio Excel Worksheet Functions 3 May 10th 06 12:36 AM
changing a cell to changing the link Jared Excel Worksheet Functions 7 May 8th 06 08:41 AM
NOW() keeps changing sigfreund Excel Discussion (Misc queries) 2 March 4th 06 01:46 AM
Changing format of number without changing the value sweetsue516 Excel Discussion (Misc queries) 2 August 22nd 05 04:07 PM
changing #value! to 0's sik_chode Excel Worksheet Functions 2 August 7th 05 06:17 PM


All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"