![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
I need to be able to have separate formats inside of a formula. For example, I need to write the following:
="Hi, my name is "&@vlookup(table) where @vlookup is referencing a table of names. I need the name only to be in bold. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Font formatting cannot be applied to a formula or cell reference. It can only be directly applied to text.
|
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi maryland
You would need to do any Bolding via the normal format methods, ie toolbar. There is a Text function but it's really only for number formatting. The only other way would be relatively a simple VBA custom function, but seems a bit of overkill. |
|
|
|
|
|
#4 |
|
New Member
Join Date: Mar 2002
Posts: 2
|
What is a VBA custom function?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|