Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Chart Title SuperScript

Hello,
I have a chart title with only one character that I want to make superscript
using VBA Code. For example:

"This is my number R2 today"

I want the 2 to be superscript. Is there a way to do that?

Thanks.

Bill


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Chart Title SuperScript

It is a mouthful, but:
Worksheets("Sheet1").ChartObjects(1).Chart.ChartTi tle.Characters(20,1).Font.Superscript = True

"Bill" wrote:

Hello,
I have a chart title with only one character that I want to make superscript
using VBA Code. For example:

"This is my number R2 today"

I want the 2 to be superscript. Is there a way to do that?

Thanks.

Bill



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Chart Title SuperScript

Thanks. That worked.

Bill
"K Dales" wrote in message
...
It is a mouthful, but:

Worksheets("Sheet1").ChartObjects(1).Chart.ChartTi tle.Characters(20,1).Font.
Superscript = True

"Bill" wrote:

Hello,
I have a chart title with only one character that I want to make

superscript
using VBA Code. For example:

"This is my number R2 today"

I want the 2 to be superscript. Is there a way to do that?

Thanks.

Bill





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
How to hide a chart title, but keep the title in the chart KBratt Charts and Charting in Excel 1 July 16th 09 12:13 AM
Dynamic Chart Title With 3D Stacked Column Chart Thomas M. Charts and Charting in Excel 2 March 23rd 09 03:14 PM
Excel chart - how to assign the file name in the chart title? TGreen Charts and Charting in Excel 1 August 16th 05 10:35 AM
Pasting Objects into Chart title and Axis title Sam Charts and Charting in Excel 1 June 6th 05 08:50 PM


All times are GMT +1. The time now is 05:56 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"