Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Name/Description of error?

This VBA line...

MsgBox xlErrDiv0

....only gives me the number/value of the error!


How do I get the MsgBox to give me the name/description of the error?

Something like Error(xlErrDiv0).Name?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default Name/Description of error?

msgbox err.description

Cliff Edwards

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Name/Description of error?

Type "Cell Error Values" (with the quotes) into the VB editor's search field
and the first item listed in the results panel should say the say thing...
select that item and it gives you some code to use to get what I think you
are asking for.

--
Rick (MVP - Excel)


"Charlotte E." wrote in message
...
This VBA line...

MsgBox xlErrDiv0

...only gives me the number/value of the error!


How do I get the MsgBox to give me the name/description of the error?

Something like Error(xlErrDiv0).Name?


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
=IF(AND(' Job Duties Description'!S50,' Job Duties Description'!S5 Chad Excel Discussion (Misc queries) 3 March 23rd 09 05:41 PM
"Procedure declaration does not match description" error, _dblclic Gregg Roberts Excel Programming 6 March 9th 07 08:31 PM
Get Add-in Description with VBA Paul Martin Excel Programming 6 September 9th 06 11:10 PM
Add-in Description Geoff Excel Programming 4 June 28th 06 02:42 PM
How to add UFD arguments description? X.Yu[_2_] Excel Programming 4 October 15th 04 02:45 PM


All times are GMT +1. The time now is 12:19 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"