Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Why "object doesn't suppor this property or method"?

Set rCell = ActiveSheet.Range("a2")
strOutcomes = ActiveSheet.rCell.Offset(0, 3).Value

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Why "object doesn't suppor this property or method"?

strOutcomes = rCell.Offset(0, 3).Value

--

HTH

RP
(remove nothere from the email address if mailing direct)


"davegb" wrote in message
oups.com...
Set rCell = ActiveSheet.Range("a2")
strOutcomes = ActiveSheet.rCell.Offset(0, 3).Value

Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Why "object doesn't suppor this property or method"?


Bob Phillips wrote:
strOutcomes = rCell.Offset(0, 3).Value


Thanks Bob! Is it that Worksheet can have a range, but activesheet
can't?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Why "object doesn't suppor this property or method"?


davegb wrote:
Bob Phillips wrote:
strOutcomes = rCell.Offset(0, 3).Value


Thanks Bob! Is it that Worksheet can have a range, but activesheet
can't?


I think I get it. rCell already includes the activesheet as part of
it's definition. Is that correct?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Why "object doesn't suppor this property or method"?

That is the point Dave, the definition of rCell already contained the
worksheet so need to redo it.


"davegb" wrote in message
ps.com...

davegb wrote:
Bob Phillips wrote:
strOutcomes = rCell.Offset(0, 3).Value


Thanks Bob! Is it that Worksheet can have a range, but activesheet
can't?


I think I get it. rCell already includes the activesheet as part of
it's definition. Is that correct?





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Why "object doesn't suppor this property or method"?


Bob Phillips wrote:
That is the point Dave, the definition of rCell already contained the
worksheet so need to redo it.

Thanks!

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
"Object doesn't support this property or method" in Excel 2003 rhiski12 Excel Discussion (Misc queries) 3 November 24th 08 03:58 PM
VBA error: "object doesn't support this property or method" Dave F Excel Discussion (Misc queries) 2 April 23rd 07 06:04 PM
Interactive Chart/ "Method Cells of object '_global' failed" Sibilia[_6_] Excel Programming 3 July 1st 05 06:45 PM
Excel-VBA: "1004 - Method 'Range' of object '_Global' failed" THA Excel Programming 1 May 18th 05 09:18 AM
"Select Column method or property not available because some/all of object doesn't refer to table" Steven Rosenberg Excel Programming 0 August 18th 03 04:41 AM


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

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"