how do i
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and Help » How do i

How do i

The UK's most regular instructor-led training courses.
Training information: training courses in excel · Excel course london · Microsoft Office VBA training

resolvedResolved · Low Priority · Version 2003

How do i

Phil has attended:
Excel VBA course

by - delegate Phil [1 post] (2008 Aug 7 Thu, 16:28) replyReply

contruct something like a DSUM in VBA - is it possible to perform such a complicated table

Excel Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2008 Nov 25 Tue Bloomsbury 0 FULL    
2003 2008 Nov 27 Thu Southwark 3 book now £210 £215
2007 2008 Nov 28 Fri Bloomsbury 0 FULL    
2003 2008 Dec 2 Tue Bloomsbury 3 book now £210 £215
2003 2008 Dec 4 Thu Bayswater 6 book now £195 £205
2007 2008 Dec 8 Mon Bayswater 5 book now £212 £224
Full Schedule: See all 113 Excel Intermediate course dates.
Bookings currently available until 25th November 2009.

DSUM Function in VBA

by - trainer Carlos gold contributer[473 posts] (2008 Aug 8 Fri, 09:37) replyReply

Hi Phil

To use one of the Excel functions like DSUM, you need to create a variable to store the DSUM value. The variable type must equal the type of data being returned (In this case Single or Double).

The code would be:

Dim MyDSumValue As Single

MyDSumValue = Application.WorksheetFunction.DSum(Database, Field, Criteria)


Hope this helps

Carlos


Related articles

· 3 Ways that MS Excel Courses Can Drastically Improve Productivity for Teachers
· Interesting Lifestyle Applications for Microsoft Excel
· How to Create Better Excel Spreadsheets: Part One
· Microsoft Excel Cheat Sheet: Tips and Shortcuts
· Tips to Facilitate Printing of Excel worksheets

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

Excel tip:

Change the default location for opening and saving spreadsheets

If you are always opening spreadsheets from and/or saving documents to a specific location that is not My Documents, save time by setting this folder as the default for opening files from and saving files to.

Here's how:
1. Go to Tools - Options.

2. Select the General tab.

3. Enter the pathname of the folder you wish to make the default in the Default File Location box (hint: it will be easier to use Windows Explorer to navigate to this folder, then copy and paste the pathname from the address bar at the top of the Windows Explorer screen).

4. Click OK.

You have now changed the default folder for opening and saving spreadsheets.

View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz