Object not supporting property or method

  • Thread starter Thread starter Stuart
  • Start date Start date
S

Stuart

With GetUserWkbk_PrintOptions()
.Show
gives the above error msg on '.Show'

If I amend it to:

GetUserWkbk_PrintOptions.Show
With GetUserWkbk_PrintOptions()
If .OKButton.Tag = "Selected" Then
MsgBox "OK Button was pressed"

then the form shows, but when returned to the
sbove code, 'If.OkButton...' returns the same
error.

Why is this happening in what I thought was
ok code, please?

Regards.
 
Stuart,

() to be used when declaring arrays, functions and subs. Not all variables,
just dynamic arrays.

Where else do you think you have seen it?
 
Back
Top