Link to home
Create AccountLog in
Avatar of Scaleplan
Scaleplan

asked on

ListView in VBA

I am trying to get a ListView control to work in VBA.
I am using the syntax that I have successfully employed in Visual Basic, ie

Set objdli = lvFind.ListItems.Add(, , "Test")

but this generates a "Type Mismatch" error.

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Rhaedes
Rhaedes

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Scaleplan
Scaleplan

ASKER

I'm using VBA in Business Objects Full Client - I wonder if this has any bearing?
Thanks for accepting the anwser - Did you Dim objdli? If so, how?