Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2015, 10:04 AM
orozvik@yahoo.com orozvik@yahoo.com is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 64bit
Novice
Form with tab stop help
 
Join Date: Apr 2015
Posts: 8
orozvik@yahoo.com is on a distinguished road
Default Form with tab stop help

Hi. Can anyone suggest a plan of attach.

I have a userform that has three fields at the top which are entered only once. After that there are 20 textboxes below that that will be entered for each record. Once each record is completed, the next tab or focus will go to the 1st textbox below the three batch text boxes which will not change but remain the same for all records (20 textboxes equal one record) below it. There is an add button which allows me to add the record to a spreadsheet once the 20th textbox is filled. Even though the three batch fields remain static after the initial entry, they will also be copied into the first three columns of the data sheet with the additional 20 text boxes into the next 20 colmuns for a total of 23 columns of data added to the worksheet.

Currently, i have all 23 text boxes working fine, but the tab starts with the 1st textbox or the 1st of the three batch fields which are not needed to be entered each time ....how can i make this happen...thank.s

Reply With Quote
  #2  
Old 04-28-2015, 06:53 PM
NoSparks NoSparks is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 32bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

If I follow what you are wanting, in the exit event of, lets say textbox4, set the tabstop for each of the first 3 textboxes = false.
Reply With Quote
  #3  
Old 04-29-2015, 07:06 AM
orozvik@yahoo.com orozvik@yahoo.com is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 64bit
Novice
Form with tab stop help
 
Join Date: Apr 2015
Posts: 8
orozvik@yahoo.com is on a distinguished road
Default

Hi Sparks. Thanks for the reply..... im not sure this works....it sounds good, but setting the tab stop for the first four records to 0 does not allow me to enter them one after the other by entering or hitting the tab stop.

I've attached a spreadsheet showing the form and the fields along with a brief description of what i am trying to get the form to do in the right margin.....thank.s allllll really looking for a solution here.
Attached Files
File Type: xlsx Book2.xlsx (44.7 KB, 7 views)
Reply With Quote
  #4  
Old 04-29-2015, 08:23 AM
NoSparks NoSparks is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 32bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

There's your problem.... macros won't run in an .xlsx file

set the tabstop for each of the first 3 textboxes = false <> setting the tab stop for the first four records to 0
Reply With Quote
  #5  
Old 04-29-2015, 09:09 AM
orozvik@yahoo.com orozvik@yahoo.com is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 64bit
Novice
Form with tab stop help
 
Join Date: Apr 2015
Posts: 8
orozvik@yahoo.com is on a distinguished road
Red face

Hi Sparks....i set the tabstop=False as in the following example under the exit event for each of the first four text boxes in the Batch group:

Me.Controls("txtDivision").TabStop = False

They are still numbered in the properties window with tabIndex from 1 to 4 and their tabStop property is set to False.

I assume after i tab through each of the first four batch-textboxes the exit even of each will set the tab stop to false and when i return to the beginning tabstops 1-4 will not take place and the focus will go to tab 5 which is the first with the tabstop set to True.

Does this sound like i am on course?

If so, this works, but for some reason the tab keeps coming back to the fourth text box instead of the fifth even when i have the textbox exit event change the textbox property to false.
Reply With Quote
  #6  
Old 04-29-2015, 12:08 PM
NoSparks NoSparks is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 32bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

OK, lets try this again.
You don't need to do anything with regards to tab stops or tab index.

At the end of your Add button's procedure put Me.Controls("where ever you want to start at").setfocus and things will just carry on as per normal from that point on.

If this doesn't fix you up, post a workbook a person can actually work with and I'll do it for you.
Reply With Quote
  #7  
Old 04-29-2015, 12:34 PM
orozvik@yahoo.com orozvik@yahoo.com is offline Form with tab stop help Windows 7 64bit Form with tab stop help Office 2010 64bit
Novice
Form with tab stop help
 
Join Date: Apr 2015
Posts: 8
orozvik@yahoo.com is on a distinguished road
Default

Thanks Sparks...you solved it......i appreciate you taking the time and hanging on with me......Thank.s!!!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
designing a custom outlook form - this form is for only sending mails nt collect data balamuralibm Outlook 0 05-21-2014 08:08 AM
Mail Merge a Protected Form Maintaining Form Fills t/korean85 Word 1 04-07-2013 05:34 PM
Form with tab stop help Form field selection allows entry into form text box David C Word 1 10-24-2012 04:53 AM
Custom Form Action launches wrong form RMNZ Outlook 3 03-07-2012 11:26 AM
Form with tab stop help Form Fields - Create blank form text field with if statement? LAssist2011 Word 5 12-14-2011 03:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft