Solved

Makin errors print in capitals!

Posted on 2003-12-04
1
160 Views
Last Modified: 2010-05-01
hi experts...

im currently writing a log confirmin wen each sub routine is completed / wen an error occurs...

my problem is that i want the normal completion log parts to be lower case and the error logs to b in caps ...
this is wot im after...

sub_sortFile: completed
sub_addlink: completed
SUB_PRODUCE TEXT: ERROR:- TEXT NONE EXISTANT.... etc
-----------------^----------------   -----------^-------------
iv got this bold but                     but i need this bold ... it is eg err.description

cheers matt
0
Comment
Question by:MattAllen
1 Comment
 
LVL 13

Accepted Solution

by:
crazyman earned 50 total points
ID: 9873671
when you say you are writing it i presume you are writing it to a text file, you cant specify fontsize, bold etc in a text file this is decided by the text viewer...
However you can specify the case, to convert to upper case just use
ucase$(err.description)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now