Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tdp Tdp is offline
external usenet poster
 
Posts: 74
Default VB code checkers?????????

Is there a vb code checker programme that anyone can recommend?
--
Tdp
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default VB code checkers?????????

Hi,

The tools provided in VB editor are pretty comprehensive and will ensure you
get code that will compile. After that no code checker could decide if the
code is doing what you want because code will do what you tell it do do which
often isn't what you want.

Have a look here for some useful tips
http://www.cpearson.com/excel/Debug.htm

Mike

"Tdp" wrote:

Is there a vb code checker programme that anyone can recommend?
--
Tdp

  #3   Report Post  
Posted to microsoft.public.excel.misc
Tdp Tdp is offline
external usenet poster
 
Posts: 74
Default VB code checkers?????????

Thanks Mike
--
Tdp


"Mike H" wrote:

Hi,

The tools provided in VB editor are pretty comprehensive and will ensure you
get code that will compile. After that no code checker could decide if the
code is doing what you want because code will do what you tell it do do which
often isn't what you want.

Have a look here for some useful tips
http://www.cpearson.com/excel/Debug.htm

Mike

"Tdp" wrote:

Is there a vb code checker programme that anyone can recommend?
--
Tdp

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default VB code checkers?????????

Mike H has pretty much said it all. One of the best things you can do for
yourself in writing VBA code in Excel (or anyother VB enabled application) is
to use
Option Explicit
which can be set up to automatically be put into effect using Tools |
Options in the VB Editor and checking the box next to "Require Variable
Declaration" on the [General] tab. This can really help reduce logic errors
caused by typographic errors in typing the names of variables/constants.
After that, you're pretty much on your own as far as getting the code logic
correct, while the VB Editor will do a pretty good job of dealing with
finding your syntax errors.


"Tdp" wrote:

Thanks Mike
--
Tdp


"Mike H" wrote:

Hi,

The tools provided in VB editor are pretty comprehensive and will ensure you
get code that will compile. After that no code checker could decide if the
code is doing what you want because code will do what you tell it do do which
often isn't what you want.

Have a look here for some useful tips
http://www.cpearson.com/excel/Debug.htm

Mike

"Tdp" wrote:

Is there a vb code checker programme that anyone can recommend?
--
Tdp

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
Convert a Number Code to a Text Code Traye Excel Discussion (Misc queries) 3 April 6th 07 09:54 PM
Code expantion , with code! Arran Excel Discussion (Misc queries) 7 January 14th 07 01:05 AM
Unprotect Code Module in Code Damien Excel Discussion (Misc queries) 2 April 18th 06 03:10 PM
copying vba code to a standard code module 1vagrowr Excel Discussion (Misc queries) 2 November 23rd 05 04:00 PM


All times are GMT +1. The time now is 07:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"