Highlight Characters in String Using VBA

  Рет қаралды 10,720

Dinesh Kumar Takyar

Dinesh Kumar Takyar

Күн бұрын

Пікірлер: 40
@mrzer0830
@mrzer0830 Жыл бұрын
Very Clear , Thanks a lot. you are a really master. Grettings from Buenos Aires
@mrzer0830
@mrzer0830 Жыл бұрын
Hello, I found this video interesting, I tried to do the same with numbers (cells with general format, not text) without success. Do you know if there is any way to highlight a specific number in a cell, for example 6 in the number 3064. NOTE: WITHOUT changing the cell format. Thank you Greetings from Buenos Aires, Argentina
@anupamthaparak
@anupamthaparak 2 жыл бұрын
Hello Sir, i am very new to VBA. Could you let me know what has to be modified in the code if we want to compare text in two cells and highlighting/colouring only the ones which are different. Eg if cell 1 has ‘abcd’ and cell 2 has ‘abed’ it should highlight ‘c’ in cell 1 and ‘e’ in cell 2 as that particular part of the string is different
@ryuchan2578
@ryuchan2578 2 жыл бұрын
Up
@prakashgathibandhe6140
@prakashgathibandhe6140 5 жыл бұрын
Thanks Sir, to upload this vedio and i found how to create next code as per my previous question.
@massimolorenzi6640
@massimolorenzi6640 4 жыл бұрын
compliments very clear and direct
@Exceltrainingvideos
@Exceltrainingvideos 4 жыл бұрын
Thanks. Please share with your friends and colleagues.
@warmvision1990
@warmvision1990 7 жыл бұрын
Thank Sir I enjoyed this video and I found it useful 👍🏻
@krn14242
@krn14242 7 жыл бұрын
Thanks Dinesh. What's the offset for?
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
Didn't you notice the selection of cell C7?
@kunalrathore261
@kunalrathore261 5 жыл бұрын
Hlwo, I have a question, in this you tell me that highlight a curly brackets in a cell but I want to highlight a fourth or fifth character in a cell how we do tell me as soon as possible
@Exceltrainingvideos
@Exceltrainingvideos 5 жыл бұрын
Change this line of code according to your needs: If Cell.Characters(Counter, 1).Text = “{” Then This link will help. Let me know if this solved your problem.
@vyshalkumar8327
@vyshalkumar8327 5 жыл бұрын
Hi Sir, Thanks in advance I want to highlight the specific text in "G1" cell text which is not available in the SAME ROW.("Z1" to "AN1") For example : cell "G1" contains "hello sir i am doing well" but the word "sir" is not available in SAME ROW (ranges "Z1" to "AN1") so the text "Sir" should be highlighted Note : i want to loop this code for all the cells in "G" column likewise the ROW should also change from row 1 to ...........
@mohammadnaim3345
@mohammadnaim3345 7 жыл бұрын
thanks sir... but i got error 1004 unable to get the text property of the characters class... how to fix this
@mohammadnaim3345
@mohammadnaim3345 7 жыл бұрын
how to apply this macro for a number?
@DavidRajkumarGuitar
@DavidRajkumarGuitar 6 жыл бұрын
Hai sir, u have shown how to highlight circular brackets, but I want to know how to hightlight all characters containing flower braces, square braces etc
@Exceltrainingvideos
@Exceltrainingvideos 6 жыл бұрын
Why don't you try that out?
@touseef220
@touseef220 7 жыл бұрын
Hello sir, I have a problem in excel as I want to create a template for my work. I need your help. Can I ask you for email so that I send you details Regards
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
Do a search at www.exceltrainingvideos.com
@bricc322
@bricc322 7 жыл бұрын
Very interesting! Thank you.
@akshays20469
@akshays20469 7 жыл бұрын
nice sir. but I would like to know that can we input data in hindi through textbox
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
Select the text box. In the font properties change the font to some Hindi font like 'Kruti Dev 010'.
@akshays20469
@akshays20469 7 жыл бұрын
Dinesh Kumar Takyar thank you sir, but it won't show data in hindi in worksheet .
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
LOL. Of course you should use a Hindi keyboard and have Hindi as your language installed via the control panel.
@levimoore800
@levimoore800 7 жыл бұрын
what if instead of characters I want to do words?
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
Try it out!
@haribabu-nl5rg
@haribabu-nl5rg 7 жыл бұрын
conditional formatting colour is not recognised by macro,how can get background colour number of conditional formatting cell not normal background cell sir
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
www.exceltrainingvideos.com/highlight-characters-in-string-with-vba/
@SheittaHerr
@SheittaHerr 5 ай бұрын
I'm interested keep me posted
@nammarcr33737
@nammarcr33737 5 жыл бұрын
How to count characters in userform From Textbox1 and result in Textbox 2
@Exceltrainingvideos
@Exceltrainingvideos 5 жыл бұрын
Use the LEN function for TextBox1 and the assign the value to TextBox2.
@nammarcr33737
@nammarcr33737 5 жыл бұрын
@@Exceltrainingvideos Thank you
@eliasaouad13
@eliasaouad13 7 жыл бұрын
I was practicing with the tutorial & followed each step exactly as you described and received error: Tun-time error '424' Object required. I reviewed the steps and they match exactly. Not sure where the error is. Hope you can help and explain. Thank you. Sub HighlightCellCharacters() Range("C1").Select Dim rng As Range Set rng = Range("C1:C6") For Each cell In rng Dim counter As Integer For counter = 1 To Len(cell) If cell.Characters(counter, 1).Text = "{" Then cell.Characters(counter, 1).Font.ColorIndex = 3 End If Next AtiveCell.Offset(1, 0).Select (This is where the error occurred) Next cell End Sub
@Exceltrainingvideos
@Exceltrainingvideos 7 жыл бұрын
AtiveCell.Offset(1, 0).Select ---> ActiveCell.Offset(1, 0).Select
@eliasaouad13
@eliasaouad13 7 жыл бұрын
Thank you
@mohdrayees7297
@mohdrayees7297 6 жыл бұрын
In one sheet how to match two value by using vba
@Exceltrainingvideos
@Exceltrainingvideos 6 жыл бұрын
Run a looping process.
@govindkumarsodani3290
@govindkumarsodani3290 Жыл бұрын
Usefull
@rakeshmewada9823
@rakeshmewada9823 7 жыл бұрын
NICE SIR
@Siva-DigitalEnglishEducation
@Siva-DigitalEnglishEducation 7 жыл бұрын
good
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Рет қаралды 52 М.
VLOOKUP Using VBA
21:23
Dinesh Kumar Takyar
Рет қаралды 302 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 34 МЛН
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,5 МЛН
Create reports from raw data automatically with loops, auto-filter and VBA
18:38
Using Find and FindNext Functions in VBA
14:05
Dinesh Kumar Takyar
Рет қаралды 60 М.
Excel VBA Introduction Part 25 - Arrays
1:00:24
WiseOwlTutorials
Рет қаралды 228 М.
VBA For Loop - A Complete Guide
12:36
Excel Macro Mastery
Рет қаралды 82 М.
COBOL Course - Programming with VSCode
1:17:04
freeCodeCamp.org
Рет қаралды 207 М.
How to Declare (Dim) and Set VBA Variables (use data types correctly)
7:32
Using Libraries in C++ (Static Linking)
18:43
The Cherno
Рет қаралды 442 М.
VBA Macro to Copy Data from Another Workbook in Excel
13:39
Excel Campus - Jon
Рет қаралды 647 М.
Understanding and implementing a Hash Table (in C)
24:54
Jacob Sorber
Рет қаралды 358 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 34 МЛН