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

activecell is J113

how can i replace J113 with ab?

i don't know how to arrange the double quote. Thanks a lot.

ab = ActiveCell.Address
Charts(1).SetSourceData Source:=ABCsheet.Range("A1:J113")


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default setSourcedata

ab = ActiveCell.Address
Charts(1).SetSourceData Source:=ABCsheet.Range("A1:" & ab)

--
Regards,
Tom Ogilvy


"tony wong" wrote:

activecell is J113

how can i replace J113 with ab?

i don't know how to arrange the double quote. Thanks a lot.

ab = ActiveCell.Address
Charts(1).SetSourceData Source:=ABCsheet.Range("A1:J113")



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default setSourcedata

Thanks a lot.


"Tom Ogilvy" ...
ab = ActiveCell.Address
Charts(1).SetSourceData Source:=ABCsheet.Range("A1:" & ab)

--
Regards,
Tom Ogilvy


"tony wong" wrote:

activecell is J113

how can i replace J113 with ab?

i don't know how to arrange the double quote. Thanks a lot.

ab = ActiveCell.Address
Charts(1).SetSourceData Source:=ABCsheet.Range("A1:J113")





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
defined names and setsourcedata Jason Morin Charts and Charting in Excel 2 December 5th 07 03:39 PM
charting problem with activechart.setsourcedata Mary Kathryn Excel Discussion (Misc queries) 4 February 25th 06 08:54 PM
SetSourceData for Chart Doerte Excel Programming 2 November 29th 04 11:55 AM
Activechart.SetSourceData Source??? Bob R Excel Programming 2 July 30th 04 03:39 PM


All times are GMT +1. The time now is 11:47 PM.

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

About Us

"It's about Microsoft Excel"