Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a VBscript which has a formula to do a DCOUNTA on a
database range that match certain criteria. My question is how (with VBscript) do I amend the value of the criteria, currently say SERVER, to be ="=SERVER" The reason being is I'm getting the wrong matches and counts. Sometimes I have the following SERVER,SERVER1,SERVER2 . The server criteria counts all three which puts my totals out. To make it an exact match with DCOUNTA you have to enter the ="=criteria" in the criteria cell. As my data is imported I need to amend the current cell to surround it with the exact bits. My attempts so far have not worked as they come back with a FALSE value rather than the exact text. I also got a VBscript error at one point. Any help or suggestions? Cheers Jacqui |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with parameter substitution in formula (&value), vbScript | Excel Worksheet Functions | |||
Run VBScript from Excel | Excel Discussion (Misc queries) | |||
Anoth vbscript question ... sorry ! | Setting up and Configuration of Excel | |||
conditional formatting + VBscript | Excel Discussion (Misc queries) | |||
how to kill excel using a vbscript | Excel Programming |