Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default type greek character

how to write a code to type a Greek character (alpha, beta, etc.) in a
chartitle?

thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default type greek character

The appearance of fonts is defined by the font name. You can make the font
name Symbol to get greek characters.

--
Regards,
Tom Ogilvy

Young-Hwan Choi wrote in message
...
how to write a code to type a Greek character (alpha, beta, etc.) in a
chartitle?

thanks in advance




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default type greek character

Young-Hwan,

Start | Run | Charmap
Ensure font is Arial.
Scroll down the list until you find Greek Small Leter Alpha, Beta, Gamma,
etc.
Copy these characters to clipboard then paste them into your Chart Title.

Rob


"Young-Hwan Choi" wrote in message
...
how to write a code to type a Greek character (alpha, beta, etc.) in a
chartitle?

thanks in advance




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default type greek character

Use the Characters property of the ChartTitle object to access
individual characters within the text of the title, and change
the font of the desired characters to "Symbol".

Dim ChtTtl As ChartTitle
Set ChtTtl = ActiveSheet.ChartObjects(1).Chart.ChartTitle
ChtTtl.Characters(Start:=4, Length:=1).Font.Name = "Symbol"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Young-Hwan Choi" wrote in message
...
how to write a code to type a Greek character (alpha, beta,

etc.) in a
chartitle?

thanks in advance




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default type greek character

The ??????? part is ChrW(&H3C6)

Rob


"Young-Hwan Choi" wrote in message
...
Thanks for the response.

I think my question was not clear...
What I'm doing is to generate a chart in each worksheet as a chartobject.
I have about 40 sheets in a workbook, and I have more than one hundered
workbooks.
So I was planning to generate the charts with VBA. Everything was done
except the chart title.
The title should look like
M-phi (Greek)-P (T-1) for sheet(1),
M-phi (Greek)-P (T-2) for sheet(2), and so on.
The cell "A1" in each sheet has information on the part (T-1), (T-2), and

so
on.

I thought my code would be something like
...charttitle.characters.text = "M-" & ??????? & "-P " &
Right(activesheet.Range("A1"),5)

I thought that there was a code to write ???????? part.
if not, I have to give the title as "M-f-P" &
Right(activesheet.Range("A1"),5)
and then apply your code just changing 4 for Start augment to 3.
Am I right?


"Chip Pearson" wrote in message
...
Use the Characters property of the ChartTitle object to access
individual characters within the text of the title, and change
the font of the desired characters to "Symbol".

Dim ChtTtl As ChartTitle
Set ChtTtl = ActiveSheet.ChartObjects(1).Chart.ChartTitle
ChtTtl.Characters(Start:=4, Length:=1).Font.Name = "Symbol"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Young-Hwan Choi" wrote in message
...
how to write a code to type a Greek character (alpha, beta,

etc.) in a
chartitle?

thanks in advance










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default type greek character

I'm running Windows XP, so CharMap shows me in the Status Bar (Start | Run |
Charmap)
In Advanced View you can search for the word Greek and it will limit the
results.

Otherwise, this code will display the first 1000 characters (of which, your
phi character is 966)

Sub testit()
Dim i As Long

With Sheet1
For i = 1 To 1000:
.Cells(i, 1).Value = ChrW(i)
Next
End With
End Sub

Rob



"Young-Hwan Choi" wrote in message
...
Rob,
It's just what I want.

I have a last question, though. ^^
How can I find the (&H3C6) part for a different symbol?
Could you explain also?
I really appreciate it.


"Rob van Gelder" wrote in message
...
The ??????? part is ChrW(&H3C6)

Rob


"Young-Hwan Choi" wrote in message
...
Thanks for the response.

I think my question was not clear...
What I'm doing is to generate a chart in each worksheet as a

chartobject.
I have about 40 sheets in a workbook, and I have more than one

hundered
workbooks.
So I was planning to generate the charts with VBA. Everything was done
except the chart title.
The title should look like
M-phi (Greek)-P (T-1) for sheet(1),
M-phi (Greek)-P (T-2) for sheet(2), and so on.
The cell "A1" in each sheet has information on the part (T-1), (T-2),

and
so
on.

I thought my code would be something like
...charttitle.characters.text = "M-" & ??????? & "-P " &
Right(activesheet.Range("A1"),5)

I thought that there was a code to write ???????? part.
if not, I have to give the title as "M-f-P" &
Right(activesheet.Range("A1"),5)
and then apply your code just changing 4 for Start augment to 3.
Am I right?


"Chip Pearson" wrote in message
...
Use the Characters property of the ChartTitle object to access
individual characters within the text of the title, and change
the font of the desired characters to "Symbol".

Dim ChtTtl As ChartTitle
Set ChtTtl = ActiveSheet.ChartObjects(1).Chart.ChartTitle
ChtTtl.Characters(Start:=4, Length:=1).Font.Name = "Symbol"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Young-Hwan Choi" wrote in message
...
how to write a code to type a Greek character (alpha, beta,
etc.) in a
chartitle?

thanks in advance












  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default type greek character

Thanks for the response.

I think my question was not clear...
What I'm doing is to generate a chart in each worksheet as a chartobject.
I have about 40 sheets in a workbook, and I have more than one hundered
workbooks.
So I was planning to generate the charts with VBA. Everything was done
except the chart title.
The title should look like
M-phi (Greek)-P (T-1) for sheet(1),
M-phi (Greek)-P (T-2) for sheet(2), and so on.
The cell "A1" in each sheet has information on the part (T-1), (T-2), and so
on.

I thought my code would be something like
....charttitle.characters.text = "M-" & ??????? & "-P " &
Right(activesheet.Range("A1"),5)

I thought that there was a code to write ???????? part.
if not, I have to give the title as "M-f-P" &
Right(activesheet.Range("A1"),5)
and then apply your code just changing 4 for Start augment to 3.
Am I right?


"Chip Pearson" wrote in message
...
Use the Characters property of the ChartTitle object to access
individual characters within the text of the title, and change
the font of the desired characters to "Symbol".

Dim ChtTtl As ChartTitle
Set ChtTtl = ActiveSheet.ChartObjects(1).Chart.ChartTitle
ChtTtl.Characters(Start:=4, Length:=1).Font.Name = "Symbol"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Young-Hwan Choi" wrote in message
...
how to write a code to type a Greek character (alpha, beta,

etc.) in a
chartitle?

thanks in advance






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default type greek character

Rob,
It's just what I want.

I have a last question, though. ^^
How can I find the (&H3C6) part for a different symbol?
Could you explain also?
I really appreciate it.


"Rob van Gelder" wrote in message
...
The ??????? part is ChrW(&H3C6)

Rob


"Young-Hwan Choi" wrote in message
...
Thanks for the response.

I think my question was not clear...
What I'm doing is to generate a chart in each worksheet as a

chartobject.
I have about 40 sheets in a workbook, and I have more than one hundered
workbooks.
So I was planning to generate the charts with VBA. Everything was done
except the chart title.
The title should look like
M-phi (Greek)-P (T-1) for sheet(1),
M-phi (Greek)-P (T-2) for sheet(2), and so on.
The cell "A1" in each sheet has information on the part (T-1), (T-2),

and
so
on.

I thought my code would be something like
...charttitle.characters.text = "M-" & ??????? & "-P " &
Right(activesheet.Range("A1"),5)

I thought that there was a code to write ???????? part.
if not, I have to give the title as "M-f-P" &
Right(activesheet.Range("A1"),5)
and then apply your code just changing 4 for Start augment to 3.
Am I right?


"Chip Pearson" wrote in message
...
Use the Characters property of the ChartTitle object to access
individual characters within the text of the title, and change
the font of the desired characters to "Symbol".

Dim ChtTtl As ChartTitle
Set ChtTtl = ActiveSheet.ChartObjects(1).Chart.ChartTitle
ChtTtl.Characters(Start:=4, Length:=1).Font.Name = "Symbol"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Young-Hwan Choi" wrote in message
...
how to write a code to type a Greek character (alpha, beta,
etc.) in a
chartitle?

thanks in advance










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert to GBP - formula to identify 1st character and Acc type Johnny Excel Discussion (Misc queries) 2 May 22nd 08 03:27 PM
how do i type Chinese character in Office John New Users to Excel 0 March 9th 07 10:25 PM
when I type in cells the first character goes off Eliazar Excel Discussion (Misc queries) 1 November 22nd 06 02:03 PM
Finding a character type within a cell shineboxnj Excel Worksheet Functions 1 July 22nd 05 03:12 AM
How to know that character type in one cell of xls is more that s. Dharamendra Excel Discussion (Misc queries) 2 March 10th 05 11:26 PM


All times are GMT +1. The time now is 08:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"