Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
excel vba

ResolvedVersion 2003

Steven has attended:
Excel VBA Intro Intermediate course

Excel VBA

Hi,

I am creating a userform for quality checking work and I would like to have it so that if you click on a certain option button then further options are displayed on the form.

Is there a simple piece of VBA code which will allow me to do this?

Thanks

Steve

RE: Excel VBA

Hi Steven,

Thank you for your question and welcome to the forum.

I have attached an example spreadsheet with a form created in the VBA window.

Hope this helps.

Regards

Simon

Attached files...

Form Options code.xlsm

RE: Excel VBA

Thanks Simon, thats worked perfectly

Excel tip:

Bracketed negative numbers

Often Excel users wish to display negative numbers in colour red and bracketed

Intstructions
Step1. Select Format > Cells menu options. Within Numbers tabsheet, select Category = Custom.
Step 2. Select a type such as #,##0;[Red]-#,##0;; that specifies a colour in square brackets.
Step 3. Amend as follows; #,##0;[Red](#,##0;;

Notes: Excel formatting featues are of the form
"Positive; Negative;Zero;Text" separated by semicolon.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.