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 Excel VBA Training and help » VBA

VBA

resolvedResolved · Low Priority · Version 2003

replyReply Thu 4 Dec 2008, 17:03Delegate Rafia said...

Rafia has attended:
Excel Advanced course
Excel VBA Intro Intermediate course

VBA

Convert formulae into macros

For upcoming training course dates see: Pricing & availability

replyReply Wed 10 Dec 2008, 10:17Trainer Carlos said...

RE: VBA

Hi Rafia

I guess you want to know if you can create some code that automatically does a calculation without showing the user how it was done

For this I suggest creating a Function. To do this:

In a Module write

Public Function MyFunctionName (Val1 As <Type>, Val2 As <Type>, etc) As <Type>

MyFunctionName = <<The calculation required>>

End Function


Then use the function as any other function in your workbook.

Hope this helps

Carlos

Tue 16 Dec 2008: Automatically marked as resolved.

 

Please browse our web site to find out more about
best training excel intermediate and other Microsoft training courses.

Excel tip:

Changing the Tab Colour of an Excel 2010 Worksheet

Did you know you could give the tabs in your worksheet different colours?

This is particularly useful when organizing all your worksheets relating to a particular period or year, for example.

Right click a tab
Select Tab Colour
And choose your favourite colour!

View all Excel 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