菜鸟问题:怎样修正这个错误? (20分)

Q

qzzwg

Unregistered / Unconfirmed
GUEST, unregistred user!
用application.mesagebox();
为什么会出现这个错误:Statement expected, but expression of type 'Integer' found
同样的为什么在别的程序就可以应用而不会出现这个错误?.
 
Application.MessageBox(
'Could not open Table1 exclusively - Try again?',

'Open Error',
MB_OKCANCEL + MB_DEFBUTTON1)
主要是看最后的一个Flags变量是不是符合要求

 
我是这样写的:
application.messageBox('输入起止日期有误','返回',mb_ok);
 
顶部