Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
hll hll is offline
external usenet poster
 
Posts: 6
Default Help including exception handling - try block

Hi.. I know this is a "rookie" question so let me apologize to the forum
ahead of time.

However...

I am trying to include a Try block in to my code. However, there seems to
be no reference to whatever object holds this code as it does not understand
when I try to say something like this
Try

.....

END Try
I know I need to go in to "Tools-Reference" to add the correct module but
I have have no idea which object needs to be added. Can anyone help?
Also, is there a reference guide somewhere that tells you what "library" a
command is in?

Again, thanks in advance and for helping me out.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default Help including exception handling - try block

There is no Try/Catch construct in VBA.

For error trapping, see the On Error statement in VBA Help

Does that help?
***********
Regards,
Ron

XL2003, WinXP


"hll" wrote:

Hi.. I know this is a "rookie" question so let me apologize to the forum
ahead of time.

However...

I am trying to include a Try block in to my code. However, there seems to
be no reference to whatever object holds this code as it does not understand
when I try to say something like this
Try

....

END Try
I know I need to go in to "Tools-Reference" to add the correct module but
I have have no idea which object needs to be added. Can anyone help?
Also, is there a reference guide somewhere that tells you what "library" a
command is in?

Again, thanks in advance and for helping me out.

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
WHAT ARE THE CAUSES FOR 'EXCEPTION ERROR ' CAPTGNVR Excel Discussion (Misc queries) 0 January 29th 07 06:04 PM
if/then block within another if/then block needs a loop Janis Excel Programming 1 September 8th 06 10:01 PM
Excel Exception handling Macro coder_arun[_2_] Excel Programming 2 April 25th 06 01:46 PM
Error handling with a handling routine ben Excel Programming 0 March 15th 05 03:01 PM
Excel XP - VBA crashing because of Exception handling pcw[_2_] Excel Programming 0 September 26th 03 02:12 PM


All times are GMT +1. The time now is 08:30 AM.

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

About Us

"It's about Microsoft Excel"