我需要向函数发送不同的DataGrid控件对象引用。像Form这样的许多控件都可以实现这样的功能:
<iframe height="430" width="350" src="https://bot.dialogflow.com/kjhdfjhfjfh">
<your custom designed floating chatbox in website html>
</iframe>
但是到目前为止,尚无法使用DataGrid控件进行此操作,因为它会导致“ Dim lForm as Form
Set lForm = frmPrint
MsgBox(lForm.Caption)
”错误。
type mismatch
MSFlexGrid控件也可以,但是我需要使用DataGrid控件。
谢谢