Solved

Tab order in excel VBA dialog box

Posted on 1998-09-02
1
381 Views
Last Modified: 2010-04-30
I created a dialog box in excel 95 VBA. I want to change the tab order for the control. Is there a way to change/assign tab order after dialog box creation.

thanks
 
0
Comment
Question by:sgarg
1 Comment
 
LVL 3

Accepted Solution

by:
HATCHET earned 10 total points
ID: 1432604
sgarg,

Depending on the type of object, look for the ZOrder and/or TabIndex property.  You can change both at design-time via the Properties Window, or programatically at run-time as follows :

OBJECT.ZOrder = X

- or -

OBJECT.TabIndex = X


Good Luck,

HATCHET
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question