Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Jump certain columns with tab

This needs to only apply to rows 1-56 & 60-66 only. x represents the row #

I would like to go from Ax to Cx while tabbing through a spreadsheet, is
this possible? Although, I need to be able to edit Bx by selecting it with
the mouse.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Jump certain columns with tab

Yes ! Use the function below. Two is the number of columns to move to the
right. Then go to Tools - Macro - Options. Select a Key to run the macro.
Now when you use the short cut key it will move two columns to the right.



Sub moveright()

ActiveCell.Offset(0, 2).Select

End Sub


"Eric" wrote:

This needs to only apply to rows 1-56 & 60-66 only. x represents the row #

I would like to go from Ax to Cx while tabbing through a spreadsheet, is
this possible? Although, I need to be able to edit Bx by selecting it with
the mouse.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Jump certain columns with tab

I am not that familiar with macros. The extent of my use is coping a few into
visual basic. What exactly do I need to do? Thank you for your help. Also, I
am using Excel 2007.

"Joel" wrote:

Yes ! Use the function below. Two is the number of columns to move to the
right. Then go to Tools - Macro - Options. Select a Key to run the macro.
Now when you use the short cut key it will move two columns to the right.


Sub moveright()

ActiveCell.Offset(0, 2).Select

End Sub


"Eric" wrote:

This needs to only apply to rows 1-56 & 60-66 only. x represents the row #

I would like to go from Ax to Cx while tabbing through a spreadsheet, is
this possible? Although, I need to be able to edit Bx by selecting it with
the mouse.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Jump certain columns with tab

That macro wouldn't perform as you want in any case.

Each time it is run it jumps two cells to the right but doesn't go back to
column A, just keeps on jumping across the sheet.

See Bob Phillips' site for methods of tabbing to cells in order.

http://www.xldynamic.com/source/xld.xlFAQ0008.html

In your case, the named range may be the best way to go.

If you use the protection method, you will have to deal with editing in column B
in some way......possibly an unprotect/protect macro for when you want to edit
in B


Gord Dibben MS Excel MVP


On Sun, 1 Jul 2007 16:06:47 -0700, Eric wrote:

I am not that familiar with macros. The extent of my use is coping a few into
visual basic. What exactly do I need to do? Thank you for your help. Also, I
am using Excel 2007.

"Joel" wrote:

Yes ! Use the function below. Two is the number of columns to move to the
right. Then go to Tools - Macro - Options. Select a Key to run the macro.
Now when you use the short cut key it will move two columns to the right.


Sub moveright()

ActiveCell.Offset(0, 2).Select

End Sub


"Eric" wrote:

This needs to only apply to rows 1-56 & 60-66 only. x represents the row #

I would like to go from Ax to Cx while tabbing through a spreadsheet, is
this possible? Although, I need to be able to edit Bx by selecting it with
the mouse.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Jump certain columns with tab

If you are interested in a VBA method, this is quite easy to implement.

This event code does as you want.

Jumps from A1 to C1 then back to A2 then to C2 etc. but allows editing in any
cell.

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo endit
If Target.Column = 1 Then
Application.EnableEvents = False
Target.Offset(0, 2).Select
End If
If Target.Column = 3 Then
Target.Offset(1, -2).Select
End If
endit:
Application.EnableEvents = True
End Sub

This is sheet event code. Right-click on the sheet tab and "View Code".

Copy/paste into that module.


Gord


On Sun, 01 Jul 2007 17:40:27 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

That macro wouldn't perform as you want in any case.

Each time it is run it jumps two cells to the right but doesn't go back to
column A, just keeps on jumping across the sheet.

See Bob Phillips' site for methods of tabbing to cells in order.

http://www.xldynamic.com/source/xld.xlFAQ0008.html

In your case, the named range may be the best way to go.

If you use the protection method, you will have to deal with editing in column B
in some way......possibly an unprotect/protect macro for when you want to edit
in B


Gord Dibben MS Excel MVP


On Sun, 1 Jul 2007 16:06:47 -0700, Eric wrote:

I am not that familiar with macros. The extent of my use is coping a few into
visual basic. What exactly do I need to do? Thank you for your help. Also, I
am using Excel 2007.

"Joel" wrote:

Yes ! Use the function below. Two is the number of columns to move to the
right. Then go to Tools - Macro - Options. Select a Key to run the macro.
Now when you use the short cut key it will move two columns to the right.


Sub moveright()

ActiveCell.Offset(0, 2).Select

End Sub


"Eric" wrote:

This needs to only apply to rows 1-56 & 60-66 only. x represents the row #

I would like to go from Ax to Cx while tabbing through a spreadsheet, is
this possible? Although, I need to be able to edit Bx by selecting it with
the mouse.


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
my row numbers jump from 93 to 279. Why? Clare Setting up and Configuration of Excel 3 April 2nd 23 08:08 PM
How to jump to end of text only? Joe Bloggs Excel Discussion (Misc queries) 3 August 12th 06 08:32 PM
I want to jump to different cells with tab A-s Excel Discussion (Misc queries) 3 July 3rd 06 10:13 AM
HOW TO JUMP TO THE LAST CELL IN A ROW? Mark Excel Discussion (Misc queries) 3 October 10th 05 03:40 PM
How to jump date? Akhilesh Dalia Excel Discussion (Misc queries) 4 February 15th 05 07:59 AM


All times are GMT +1. The time now is 03:16 PM.

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

About Us

"It's about Microsoft Excel"