开发者

Can I turn off inline syntax checking in the Office 2003 VBA editor?

开发者 https://www.devze.com 2022-12-29 09:14 出处:网络
As anybody who uses VBA in Office 2003 will know, it has the extremely frustrating tendency to do a syntax check every time you click off a line.

As anybody who uses VBA in Office 2003 will know, it has the extremely frustrating tendency to do a syntax check every time you click off a line.

For example, if I start writing a line of code, I might go

For Each application In

And then think "crap, what's the application collection called?" So I'll hit "page up" to find it, and get (in this case) a "Compil开发者_StackOverflow社区e Error".

Can I turn this off?


Yes.

Goto Tools-> Options and turn off 'Auto Syntax check'. While you're there, turn on 'Require variable declaration':

alt text http://www.freeimagehosting.net/uploads/a9f473f5d0.jpg

0

精彩评论

暂无评论...
验证码 换一张
取 消