Are you trying to move your cursor to the left after data entry? If
so, a macro is not needed. Change your options settings. Depending on
your version of Excel it is something like:
Tools | Options | Edit | Move Selection after Enter (right)
If that is not what you are trying to do, add a little more detail
about your application.
No. I have a worksheet that contains some visual basic code that says when
you reach row 11 in any given cell please jump to the next cell to the
(right) row 1.
Now I would like to be able to force my position to the next cell (right)
row 1 evan if I don't reach row 11. I thought I could do that with a Macro
like Cntl J.
I understood the request a little differently than Markos. If you want
to create a hot-key so that when pressed, no matter the location, you
got to the top of the next column, the following should work. After
creating the code in VB, assign a hot-key via the Tools | Macro
windows.
Sub GoTop()
Cells(1, ActiveCell.Column + 1).Select
End Sub
Programming Cells, John seems to have undestood better your need.
The Sub GoTop() is all you need. Then go to Tools / Macro / Macros / GoTop
and
in the options define the desired shortcut key.