I've got a macro that I was using fine a while ago. I had to disable all macro activity for distribution, but now I want to use it again.
There is a line in the macro that says:
'Requires a Reference to the Microsoft Forms 2.0 Object Library
If ActiveWindow.Selection.Type <> ppSelectionText Then
MsgBox "Click in the textbox where you want to paste, then try again."
Exit Sub
End If
I thought that what I did to satisfy this requirement was to just insert a blank userform. I tried that and also tried inserting a blank Module and a blank Class Module, but I still get teh error message:
Compile error: User-defined type not defined.
Can't figure out what I'm missing here. Any suggestions?




