vba courses london - excel vba
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Excel VBA

vba courses london - Excel VBA

resolvedResolved · Low Priority · Version Standard

replyReply Fri 16 Mar 2007, 16:20Delegate Chris said...

Chris has attended:
Excel VBA Intro Intermediate course

Excel VBA

How can I redesign a command button?

For upcoming training course dates see: Pricing & availability

replyReply Tue 20 Mar 2007, 11:16Trainer Carlos said...

RE: Excel VBA

Once you place a command button on a form you can change its properties. To do this:

Right click the button
Select Properties

In the Properties window change the values of the Back colour, Font and Style of the button to your desired look

 

Vba tip:

Use VbNullString instead of

When needing to default a String variable back to it's default of "" use vbNullString as in the following example:

Sub ClearText()

Dim strEmpName As String

strEmpName = "John Smith"
MsgBox strEmpName

strEmpName = vbNullString
MsgBox strEmpName

End Sub

View all VBA hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard