Excel 2004: Paste Using Enter Key Does Not Work!

P

pracz

Help!!! I am going nuts...

I am a long time MS Excel user but relatively new to it on the Mac
(Office 2004). When trying to copy or cut and paste data, why can't I
use the enter key to paste? I am constantly having to right click and
chose paste or use the keyboard shortcut. Is there a keyboard mapping
that I need to do to get the enter key to work properly?

Thanks for the help!

PowerBook G4 Mac OS X (10.4.10)
 
B

Bob Greenblatt

Help!!! I am going nuts...

I am a long time MS Excel user but relatively new to it on the Mac
(Office 2004). When trying to copy or cut and paste data, why can't I
use the enter key to paste? I am constantly having to right click and
chose paste or use the keyboard shortcut. Is there a keyboard mapping
that I need to do to get the enter key to work properly?

Thanks for the help!

PowerBook G4 Mac OS X (10.4.10)
I don't know what you mean by "work properly." Don't forget that on the
Mac, enter is different from Return. The Mac already has the behavior you
wish with the Enter key (the one on the numeric keypad.)
 
J

JE McGimpsey

Help!!! I am going nuts...

I am a long time MS Excel user but relatively new to it on the Mac
(Office 2004). When trying to copy or cut and paste data, why can't I
use the enter key to paste? I am constantly having to right click and
chose paste or use the keyboard shortcut. Is there a keyboard mapping
that I need to do to get the enter key to work properly?

Well, I'm going to take a bit of an issue with "properly", since MS
initially screwed up all the keyboard mapping when they first ported XL
from Mac to Windows, but bear with me...

First, nearly all Mac applications use F4 to paste whatever is on the
clipboard, including out-of-the-box MacXL. With MacXL, of course, you
can customize nearly every command's keyboard shortcut using
Tools/Customize/Customize Keyboard...

WinXL's Enter key acts to paste data only if the WinOffice clipboard
contains data copied or cut from XL. Otherwise it acts as an Enter key.

MacXL uses the Mac system clipboard to copy and paste. That clipboard is
persistent, compared to the WinOffice clipboard, and (AFAIK) doesn't
indicate the source application, so using exactly the same mapping would
cause the Enter key to paste data from ANY application, which is very
likely NOT what you want.

However, you can approximate the WinXL behavior if you wish:

In your Personal Macro Workbook (or, my preference, in an add-in), enter
this into the ThisWorkbook code module (CTRL-click the workbook title
bar and choose View Code):

Private Sub Workbook_Open()
Application.OnKey "{Enter}", "EnterPaste"
End Sub

Then create a new module in that workbook/add-in and paste

Public Sub EnterPaste()
If TypeOf Selection Is Range Then _
If Application.CutCopyMode Then _
Selection.Parent.Paste
End Sub

Note that this will only affect the Enter key, not the Return key.
 
J

JE McGimpsey

JE McGimpsey said:
However, you can approximate the WinXL behavior if you wish:

Sheesh!

I've customized my keyboard layout so many ways from Sunday, and for so
long, that I forgot the numeric keypad Enter key (or the PB Enter key)
already worked like that!

Forget the macros. Just use the Enter key.
 
P

pracz

Sheesh!

I've customized my keyboard layout so many ways from Sunday, and for so
long, that I forgot the numeric keypad Enter key (or the PB Enter key)
already worked like that!

Forget the macros. Just use the Enter key.

The Enter key works just fine. Thanks for the help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top