Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to create a macro that will change fonts style automaticall
in a single cell. For example in manual doing this is possible, typin any data in a single cell can produced mixed fonts by just changing th font style everytime you want to change the character, but how can thi be done in macro and just typing a shortcut key for easy encoding an not clicking the font name or style anymore -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Aileen,
Record a macro whilst doing your formatting. NickHK "Aileen Ambrosio " wrote in message ... I'm trying to create a macro that will change fonts style automatically in a single cell. For example in manual doing this is possible, typing any data in a single cell can produced mixed fonts by just changing the font style everytime you want to change the character, but how can this be done in macro and just typing a shortcut key for easy encoding and not clicking the font name or style anymore. --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Aileen
Adjust to suit....... Sub CellFont() With ActiveCell.Characters(Start:=1, length:=5).Font .ColorIndex = 3 .Bold = True .Underline = True .Size = 14 End With With ActiveCell.Characters(Start:=6, length:=3).Font .Superscript = True .ColorIndex = 5 End With End Sub Gord Dibben Excel MVP On Thu, 6 May 2004 22:59:35 -0500, Aileen Ambrosio wrote: I'm trying to create a macro that will change fonts style automatically in a single cell. For example in manual doing this is possible, typing any data in a single cell can produced mixed fonts by just changing the font style everytime you want to change the character, but how can this be done in macro and just typing a shortcut key for easy encoding and not clicking the font name or style anymore. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
legend problem in mixed line-scatter graph Excel 2007 | Charts and Charting in Excel | |||
Excel fonts | Excel Discussion (Misc queries) | |||
in excel: @ and " are mixed up? | Setting up and Configuration of Excel | |||
Fonts for Excel | Charts and Charting in Excel | |||
How can I lengthen the drop down Fonts list to show more fonts at | Excel Discussion (Misc queries) |