Box parts of text within cell

excelkarlsson

New Member
Joined
Mar 23, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I would like to box parts of text within a cell. I know it is possible to format the font of partial cell contents but is it possible to box it.
I have attached a picture of what i would like but in just one cell.

using Office 365

1648048820413.png
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to the Board!

Are you saying that if you have multiple words in one cell, you want the borders around just part of the text, but not the whole cell?
I do not know if that is possible.

It sounds like you are talking about the "Cell borders" formatting feature.
Note that applies to the cell as a whole, not to the individual text within a cell.
 
Upvote 0
Thank you, and that was quick!

Yes that is exactly what i am after. In some software there are "formatting syntax" e.g text @[boxed text@] would create that result. I am wondering if there is anything similar that you can use in Excel
 
Upvote 0
No there isn't, you can use VBA to format part of the text (ie bold, italic, size colour etc), but nothing else.
 
Upvote 0
And there is no option in VBA to add highlighting? Cause that could be a workaround.
Actually, you don't need VBA to achieve that you can just use font settings
1648050044764.png
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,171
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top