View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Andibevan[_4_] Andibevan[_4_] is offline
external usenet poster
 
Posts: 103
Default Problems Setting properties of class module

Hi All,

I have a class module called DosOutputs. Here is one of the properties:-

Public Property Let CommandLine(DOSCommand As String)
mCommand = DOSCommand
End Property

I get the error "invalid use of property" when I try to set this property as
follows:-

objDOS.CommandLine = txtCommand.Text

What am I doing wrong?

Ta

Andi