Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Exporting chartsheets and breaking links

Yes, what I posted breaks series links. To unlink the titles, you'd need
something like this:

Sub UnlinkTitles()
Dim iAx As Integer, iGrp As Integer
With ActiveChart
If .HasTitle Then .ChartTitle.Text = .ChartTitle.Text
For iAx = 1 To 2
For iGrp = 1 To 2
If .HasAxis(iAx, iGrp) Then
With .Axes(iAx, iGrp)
If .HasTitle Then _
.AxisTitle.Text = .AxisTitle.Text
End With
End If
Next
Next
End With
End Sub

Copying the chart sheet is straightforward:

Sheets("Chart1").Copy Befo=Workbooks("OtherBook.xls").Sheets(1)

You can record a macro to find out things like this. In fact, that's
what I did, so I didn't mess up the syntax.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

ExcelMonkey < wrote:

Correct me if I am wrong but this only tells me how to break the links
of the series. So I still need to copy sheet from workbook1 to
workbook2. Furthermore, I sometimes use cell links for my titles.
Does this break the links for the cell links as well?


---
Message posted from http://www.ExcelForum.com/


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
Breaking Links - BUT WHERE ARE THEY??? Kevryl Excel Discussion (Misc queries) 1 March 31st 10 01:59 PM
Breaking links Jessica Excel Worksheet Functions 1 June 12th 08 11:56 PM
Breaking Links thelees Excel Discussion (Misc queries) 1 September 24th 05 07:11 PM
Breaking Links tojo107 Excel Discussion (Misc queries) 2 July 20th 05 05:40 AM
Breaking links Roger Links and Linking in Excel 2 July 8th 05 02:54 AM


All times are GMT +1. The time now is 10:12 AM.

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"