#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
J Slavin
 
Posts: n/a
Default dcount with vba

is it possible to use the dcount function with vba?

i tried Application.WorksheetFunction.DCount(....) but didnt work,
sayid it could not get the DCount function.

thanks in advance,


--

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JRod
 
Posts: n/a
Default dcount with vba

Hi,
Perhaps Application.DCount(...) without WorkSheetFunction...


--
JRod
Microsoft [MVP] - Excel
http://EXCELer.blogspot.com

______________________________________
"J Slavin" escreveu na mensagem
...
is it possible to use the dcount function with vba?

i tried Application.WorksheetFunction.DCount(....) but didnt work,
sayid it could not get the DCount function.

thanks in advance,


--



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default dcount with vba

According to vba help, yes. You probably did not use proper syntax for the
ranges
instead of a1:a32
use
range("a1:a32")

--
Don Guillett
SalesAid Software

"J Slavin" wrote in message
...
is it possible to use the dcount function with vba?

i tried Application.WorksheetFunction.DCount(....) but didnt work,
sayid it could not get the DCount function.

thanks in advance,


--



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DCount?? not working. Pls help KDD Excel Discussion (Misc queries) 3 August 29th 05 04:17 PM
Using ADD function within DCOUNT criteria DaveF2002 Excel Discussion (Misc queries) 4 June 19th 05 09:48 PM
DCount, with mixed type data [email protected] Excel Discussion (Misc queries) 1 May 26th 05 08:26 PM
DCOUNT in Excel CharlieW Excel Worksheet Functions 1 May 6th 05 01:13 AM
DSUM and DCount when criteria values are similar BAC Excel Worksheet Functions 1 February 14th 05 06:38 PM


All times are GMT +1. The time now is 05:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"