Command object problem ??

  • Thread starter Thread starter luanhoxung
  • Start date Start date
L

luanhoxung

Hi,
Please show me what happen ?
In my Code, I declare: cm as command
the word "command" doesnot capital the first letter like : Command.
And i think VBA doesnot know what is cm ??
But in my office, i can see: cm as Command, and everything do as
my intent (cm is a Command)--->Why ?
Please give me a hand.
thanks in advance.
Luan from VietNam
 
It's an ADODB property.

Look in VBE menu
Tool | References

Look for: Microsoft ActiveX Data Objects Library
Choose the applicable to yr Office version
(or pick version 2.1 of yr not doing anything out of the ordinary with ADO)

Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top