Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-26-2012, 01:56 PM
macropod's Avatar
macropod macropod is offline VBA: How to debug.Print enumeration names? Windows 7 64bit VBA: How to debug.Print enumeration names? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi tinfanide,

AFAIK, the numeric type is the best you'll get via Debug.Print. For anything fancier, you'd need to create a Select Case statement or something such with your own enumeration list to retrieve the names from the numbers and use a MsgBox instead of Debug.Print.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug for macro run through button only when sheet protected leahca Excel Programming 0 11-24-2011 04:47 AM
VBA: How to debug.Print enumeration names? Equations - Enumeration and cross referencing hpon Word 5 12-27-2010 02:27 PM
Headers - Enumeration hpon Word 1 11-02-2010 10:50 AM
VBA: How to debug.Print enumeration names? Print preview and actual print do not match? anthrax19888 Word 1 10-12-2009 08:09 AM
Microsoft Office 2003 winword.exe Debug Error! abnormal prog elo1bev Word 0 12-22-2005 10:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft