473,807 Members | 2,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using CapsLock in the MsgBox(VBA)

4 New Member
Hello people (VBA related)
Some help please. Is there any text formatting that I can do with the text that I want displayed in the MsgBox...bold, a different font and font size is what I am looking for. I have the option of using userforms but I cannot due to certain project restraints.

Thanks for the help.
Feb 13 '08 #1
2 1305
kadghar
1,295 Recognized Expert Top Contributor
Hello people (VBA related)
Some help please. Is there any text formatting that I can do with the text that I want displayed in the MsgBox...bold, a different font and font size is what I am looking for. I have the option of using userforms but I cannot due to certain project restraints.

Thanks for the help.
Not that i know... but i'll subscribe here, in case anyone else knows the solution
Feb 13 '08 #2
Killer42
8,435 Recognized Expert Expert
No, the MsgBox() function just accepts plain text. If you want to apply formatting to the text I believe you'll have to either create your own equivalent that supports formatted text (which wouldn't be very difficult) or have a look around the web for one that already exists.
Feb 13 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
10441
by: gudia | last post by:
I want to Programatically generate Access reports in the pdf format using some tool and then email them to people in the same code. Right now I am trying to do this with pdf995 using VBA (emailing is a separate issue, which pdf995 does not addresses). I downloaded pdf995. It controls printing via pdf995.ini file. In the VBA code, I have DoCmd.OpenReport "Report2", acViewNormal. I am having the following problems right now. (a) I do...
5
5826
by: Chand | last post by:
Private Sub tbDate_AfterUpdate() Dim cnn As New ADODB.Connection Dim rst As New ADODB.Recordset rst.CursorLocation = adUseClient Set cnn = CurrentProject.Connection rst.Open "SELECT * FROM Table1 ORDER BY StudentID ASC", cnn, adOpenStatic, adLockReadOnly, adCmdText
4
2150
by: charliej2001 | last post by:
This is my first post on groups and id like to say that already its helped me out loads, but can't quite find what im looking for now I have 3 tables storing information about people; Main, Temp and Dupl. What I want to do, using VBA, is check each record in the Temp table (10-50 records) against each record in the Main table (1000+ records); if any records then match, I want to store them in the Dupl table. The 3 tables are identical in...
2
11852
by: charliej2001 | last post by:
Hi all I'm trying to set up an Access database that will be able to import contact information from the lotus notes 6.5 Address book. The idea is that the code runs from access to import all of the contacts, using COM. I've written the following vba code so far to import the contacts
1
4160
by: x taol | last post by:
I want to set access application icon and titlebar name using VBA. *** Sent via Developersdex http://www.developersdex.com ***
0
2044
by: tezza98 | last post by:
Hi im using VBA to create A MYOB_ODBC User DSN here is my code Option Compare Database 'Constant Declaration Private Const ODBC_ADD_DSN = 1 ' Add data source Private Const ODBC_CONFIG_DSN = 2 ' Configure (edit) data source Private Const ODBC_REMOVE_DSN = 3 ' Remove data source
11
3336
by: Don Barton | last post by:
I am trying to update a table using VBA and SQL. A form is filled out with user ID and PW, then these data are sent to global variables. The global variables are used to create a record in tblUserActivity. forward. Regarding the code below, everythings seems to be working except when I get to the recordset.update. When execution occurs at this point, my error routine fires. Is this a primary key field issue? I have a primary key...
6
3061
by: TSIGOS1 | last post by:
Hello, I have created a query in Access and I want to be able to read the sql statement of the query using vba and then run it from excel vba. That is instead of copying and pasting all the query sql statements i want to use code to read it directly from vba. Or alternatively run from excel the query on a recordset without the sql statement. Thank in advance Tsigos
3
1418
beacon
by: beacon | last post by:
Hi, I'm using Access 2003 and I would like to be able to prompt the user to close Access altogether from a vbyesnocancel button, but the only way I'm aware of is to use the close macro. Is there a way to run this macro using VBA? If not, is there a way to close the entire database with VBA, depending on the user's input? It probably won't help anything, but here's a snippet of where I'm at: Public Sub cmdCancel_Click() Dim...
5
1855
by: Brett Barry: Go Get Geek! | last post by:
Hello, Can someone please paste VBA code and how I would go about doing this?: I have a customer table with over 6000 duplicates in the field called "Customer". While the customer names may be duplicates the data in other fields is different. I would like to import all of the customers including the duplicates; however, the program I am importing into doesn't allow duplicate customer names.
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.