Spellcheck code

  • Follow


Is it possible to spellcheck code? 
0
Reply Utf 1/23/2008 10:02:03 AM

VBA Code? Not that I'm aware of, but then I can't see why you'd want to. I 
write magazine articles that include code samples, and the Word spellchecked 
always complains about the VBA code: it's not happy with words like 
Recordset or QueryDef for instance.

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Rod" <Rod@discussions.microsoft.com> wrote in message 
news:A1771B8F-DB5C-447F-BF2E-60F61B36B085@microsoft.com...
> Is it possible to spellcheck code? 


0
Reply Douglas 1/23/2008 12:23:31 PM


VBA code, yes.

Your code is always going to contain actual phrases (of the "Press any key 
to continue" variety at least). I figured it shouldn't be too difficult to 
write an add-in that ignored existent keywords and recognised variables where 
they are defined by Dim statements (assuming Option Explicit). What remains 
after keywords and declared variables could be checked for spelling mistakes.

Anybody know of such an add-in?

"Douglas J. Steele" wrote:

> VBA Code? Not that I'm aware of, but then I can't see why you'd want to. I 
> write magazine articles that include code samples, and the Word spellchecked 
> always complains about the VBA code: it's not happy with words like 
> Recordset or QueryDef for instance.
> 
> -- 
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
> 
> 
> "Rod" <Rod@discussions.microsoft.com> wrote in message 
> news:A1771B8F-DB5C-447F-BF2E-60F61B36B085@microsoft.com...
> > Is it possible to spellcheck code? 
> 
> 
> 
0
Reply Utf 1/23/2008 12:35:01 PM

Take a look at Total Access Speller, from FMS 
http://www.fmsinc.com/products/speller/

Afraid I don't know whether it can do exactly what you're looking for, but 
there is a free trial version.

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Rod" <Rod@discussions.microsoft.com> wrote in message 
news:689C4CD7-88DF-49D5-B017-936D641577D4@microsoft.com...
>
> VBA code, yes.
>
> Your code is always going to contain actual phrases (of the "Press any key
> to continue" variety at least). I figured it shouldn't be too difficult to
> write an add-in that ignored existent keywords and recognised variables 
> where
> they are defined by Dim statements (assuming Option Explicit). What 
> remains
> after keywords and declared variables could be checked for spelling 
> mistakes.
>
> Anybody know of such an add-in?
>
> "Douglas J. Steele" wrote:
>
>> VBA Code? Not that I'm aware of, but then I can't see why you'd want to. 
>> I
>> write magazine articles that include code samples, and the Word 
>> spellchecked
>> always complains about the VBA code: it's not happy with words like
>> Recordset or QueryDef for instance.
>>
>> -- 
>> Doug Steele, Microsoft Access MVP
>> http://I.Am/DougSteele
>> (no e-mails, please!)
>>
>>
>> "Rod" <Rod@discussions.microsoft.com> wrote in message
>> news:A1771B8F-DB5C-447F-BF2E-60F61B36B085@microsoft.com...
>> > Is it possible to spellcheck code?
>>
>>
>> 


0
Reply Douglas 1/23/2008 2:09:00 PM

dans l'article A1771B8F-DB5C-447F-BF2E-60F61B36B085@microsoft.com, Rod �
Rod@discussions.microsoft.com a �crit le 23/01/08 11:02�:

> Is it possible to spellcheck code? 

0
Reply mallard 1/24/2008 2:01:24 PM

4 Replies
169 Views

(page loaded in 0.074 seconds)

Similiar Articles:
















7/15/2012 12:45:05 PM


Reply: