Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Err.LineNumber


Hi,

is there nothing in VBA which gives the line number of the line wher
the error occurs. It becomes quite difficult to find a problem on th
users machine when a bug comes up

--
mangesh_yada

-----------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...fo&userid=1047
View this thread: http://www.excelforum.com/showthread.php?threadid=27691

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Err.LineNumber

mangesh,
There is the Err.Erl, but you have to number all you lines for this to work.
MZ-Tools have an add-in that can do this.
(Applies to VB, so I am assuming it applies to VBA also.)

NickHK

"mangesh_yadav" wrote in
message ...

Hi,

is there nothing in VBA which gives the line number of the line where
the error occurs. It becomes quite difficult to find a problem on the
users machine when a bug comes up.


--
mangesh_yadav


------------------------------------------------------------------------
mangesh_yadav's Profile:

http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=276918



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
get linenumber when string found in VBE codemodule RB Smissaert Excel Programming 11 October 10th 04 09:56 AM


All times are GMT +1. The time now is 06:58 PM.

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"