It's urgent please help. It's deadline is tomorrow morning, please help.
I have a form. The following controls are used in this form...
• Rich Text-box
• 4 Buttons
Bold
Italic
Red
Blue
On button click, the selected text of rich textbox should be change.
How can I change the text color in red or blue on button click?
It's urgent please help. It's deadline is tomorrow morning, please help.
VBA is Visual Basic for Applications. It is essentially VB 4/5/6, but it is directly tied into certain applications such as MS Access, Excel and Word. It is the standard programming language for automating process is those applications. I believe it is essentially the same as VB 4/5/6, but I admit that I do not work with standalone VB, but much of the same language and coding processes apply.
Hope this hepps!
9 1656
The basics are this: - Me.[TextBoxName].ForeColor = RGB(255, 0, 0)
Will change the font color of the text box to red.
I already done as above, but this changes the whole text color and I want to change the color of selected text only. How can this possible?
I do not know how to change individual portions of the text using VBA.
Sorry.
Ok and thank you so much for the reply.
Glad I could be of assistance!
I have a question about VBA which you write in your reply.
Can I Know what is VBA?
Please don't mind because I am SY BSC IT student, so I don't know more about vb.net. I heard the word VBA first time. So I want to know about VBA. Can you give me information about VBA?
And again thank you for your help and your reply.
VBA is Visual Basic for Applications. It is essentially VB 4/5/6, but it is directly tied into certain applications such as MS Access, Excel and Word. It is the standard programming language for automating process is those applications. I believe it is essentially the same as VB 4/5/6, but I admit that I do not work with standalone VB, but much of the same language and coding processes apply.
Hope this hepps!
Thank you for the giving information.
Glad I could be of some assistance!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Imaya Kumar |
last post by:
Hi,
i'm developing an editor in VS.NET using Rich Text Box
Control. I need to make a selected text Bold. how can i do
this? also i will have an Italic Button too. If i click
Bold button the...
|
by: Dru |
last post by:
Hi,
I am making a textarea for people to add/modify their text for
descriptions products. I want to have buttons (or just text links)
with functions that will allow them to bold, italicize, sup,...
|
by: gooderthanyou |
last post by:
I have a textfield and you of course you can select text...
When they hit the bold button I want it to obtain the selected text and
bold it, the hard part is trying to figure out if javascript...
|
by: Adam Honek |
last post by:
Okay,
Assinging the font and its style (bold, italic etc.) using the font dialog
is easy such as:
FontDialog1.ShowDialog()
txtEmailBody.SelectionFont = FontDialog1.Font
But how does one...
|
by: andreas |
last post by:
A selected text has fontstyles like bold and italic and underscore
I want to remove one of them without changing the other fontstyles.
How to do that?
Thanks for any response
|
by: suvarna1026 |
last post by:
Can any one tell me,how to change color of selected text.Color should be picked from colorPalette.I know only one thing that,as it is client side event,it can be done in javascript.I am using asp.net...
|
by: sudhivns |
last post by:
Hi,
following is the part of my xml file.
data.xml
<Value>
This is normal text
This has to be printed in bold.
This has to be printed in Italic.
This has to be printed in bold/italic.
|
by: r_ahimsa_m |
last post by:
Hello,
I am learning CSS and other WWW technologies. In the folowing definition
italic doesn't work:
h2
{
color: Brown;
text-decoration: italic;
}
|
by: bettiahamit |
last post by:
here i created sequence no. with every paragraph line
..
like...
<p local_id = P-100>aaaaaaaaaaaaaaaaaaaaaaaaa<\p>
<p local_id = P-101>bbbbbbbbbbbbbbbbbbbbbbbbb<\p>
<p local_id =...
|
by: Patrick Shin |
last post by:
I'm trying to make a text that keeps on changing color, let say about every 5 seconds. I'm actually new at JavaScript and I can't seem to grasp what needs to be done. The text should keep on changing...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| | |