Hi,I am tring to learn how to make use classes in my code. I have a book that showed me how to put it together, but when I try to reference it, I do not get it in the intelasence. In ohter words when I try to do smoething like this in the click event of a button–> Dim cl as TaxCalc, it does not come up with TaxCalc.
In the options section of the click event of my button I Have:
Use “Shard_Subs_calcs”
This is where I have the code in a decliration dection
Class TaxCalc
Private m_tax As Single
Private m_amt As Single
Sub new (a As Single)
m_tax = 1.08
m_amt = a
End Sub
Function TaxCl( ) As Single
TaxCl = m_amt * m_tax
End Function
End Class