Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pass MS Flexgrid control as a parameter in procedure using VBA

Status
Not open for further replies.

crisgomez

Programmer
Dec 12, 2010
1
PH

I passed the MSFlexgrid control into a procedure, but it raised an error saying "type mismatch".I registered already the MSFlexgrid control and it works, but when I used the control as a parameter it raised an error.

here is the sample below:

private sub DisplayData(byref fgGrid as MSLFlexgrid)

end sub
 
you would probably have better luck in the VBA forum. this forum focuses on design and OOP concepts. you are are experiencing is a specific issue.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top