Tab Control Problem

Robert Allan

New Member
Joined
Mar 30, 2020
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Tab Control Problem

Once again my lack of knowledge pops up on me. Still working on my Finance System Data Entry screen. This form was created right on the worksheet and is not a user form, just cells and 4 control buttons. My problem is that when that when I hit Tab key or the Right- arrow key it goes to the next cell on the right until it hits the far side of the form. And when I hit the Enter key or the Down-arrow key it goes to the next line, which is always a blank every other line. I don’t like that. I want it to jump from entry field to entry field. Any help would be greatly appreciated, even if somebody can suggest some software that would do the trick. I would certainly buy it. Just one more chance for MrExcel to help.
Data Entry Screen_InPixio.jpg
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
What column is the data entry on ?
AND what is the address of the first entry point ?
AND
by the look of it you would need to jump down 2 rows to get to the next entry point ?
 
Upvote 0
What column is the data entry on ?
AND what is the address of the first entry point ?
AND
by the look of it you would need to jump down 2 rows to get to the next entry point ?
The data entry column is column "I", and the first entry point is "I6". And, yes you are right I do have to jump down 2 rows to get to the next entry point.
 
Upvote 0
Ok, so based on that info I would set up a named range to step through the required cells
Have a look here for step by syep instructions on how to....
 
Upvote 0
Also a worksheet_change event pasted into the sheet module
VBA Code:
Sub Worksheet_change(ByVal target As Range)
If target.Column <> 9 Then Exit Sub
If target.Value <> "" Then
ActiveCell.Offset(1, 0).Select
End If
End Sub
 
Upvote 0
Also a worksheet_change event pasted into the sheet module
VBA Code:
Sub Worksheet_change(ByVal target As Range)
If target.Column <> 9 Then Exit Sub
If target.Value <> "" Then
ActiveCell.Offset(1, 0).Select
End If
End Sub
Maybe I just plain ignorant, but I not sure where you mean to put it. I tried putting it into my Data Entry sheet, but that had no effect. The following is a list of all the modules in the project:
Finance Project Modules_InPixio.jpg
 
Upvote 0
Could you eliminate the blank lines and secure the same appearance with formatting?
- make row taller
- make alignment middle instead of bottom

T202004a.xlsm
ABCD
1
2Date
3Source
4
5
1b
 
Upvote 0
It goes in the sheet module that contains the Finance Data Entry Form....BUT....are you on a Mac ?
If so, I don't know whether this code will work on a Mac.
 
Upvote 0
Ok, so based on that info I would set up a named range to step through the required cells
Have a look here for step by syep instructions on how to....
I got to fast and had not look into this solution, but it has real promise. My tabs work fine doing it this way. I just added it to my macro that launches the form. Now if I can figure out how to get the Enter key to go to the next input line.
 
Upvote 0
Ok, so based on that info I would set up a named range to step through the required cells
Have a look here for step by syep instructions on how to....
Thinks again for sharing this solution with me, it put me on to a whole host of other things.
 
Upvote 0

Forum statistics

Threads
1,215,202
Messages
6,123,625
Members
449,109
Latest member
Sebas8956

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top