Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default To: Dave Peterson

Dear Dave,

on 7/7/2004 you gave a nice advice to Jonnyboy with
dynamic declaration of a range. How it is, however, with
twin range selection for xy-chart SeriesCollection, i.e.
for later setting

ActiveChart.SetSourceData Source:=Rng1

something like

With ActiveSheet
Set Rng1 = .Range(.Range(.Cells(1, 2), .Cells(N, 2)), _
.Range(.Cells(1, 4), .Cells(N, 4)))
End With

should be applied. This declaration leads regrettably to
438 run-time error (Object doesn't support this property
or method).What does the trick?

Petr

  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default To: Dave Peterson

I'am so sorry to find out it works fine. The error was in
another situation: deactivation of the sheet in between.
Petr

-----Original Message-----
Dear Dave,

on 7/7/2004 you gave a nice advice to Jonnyboy with
dynamic declaration of a range. How it is, however, with
twin range selection for xy-chart SeriesCollection, i.e.
for later setting

ActiveChart.SetSourceData Source:=Rng1

something like

With ActiveSheet
Set Rng1 = .Range(.Range(.Cells(1, 2), .Cells(N, 2)), _
.Range(.Cells(1, 4), .Cells(N, 4)))
End With

should be applied. This declaration leads regrettably to
438 run-time error (Object doesn't support this property
or method).What does the trick?

Petr

.

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
To: Dave Peterson V Excel Discussion (Misc queries) 5 May 27th 09 01:44 AM
Dave Peterson...Oh no, not her again... Lynda Excel Discussion (Misc queries) 3 October 12th 08 04:07 PM
Dave Peterson...HELP!!!! Lynda Excel Discussion (Misc queries) 2 October 1st 08 01:47 PM
Dave Peterson joelbeveridge Excel Discussion (Misc queries) 1 August 4th 06 02:55 AM
Dave Peterson atxcomputers Excel Discussion (Misc queries) 12 September 28th 05 06:17 PM


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