Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ray,
In Excel, ActiveSheet does not have to be a worksheet. It can be a Chart or Macro sheet. As such, you do not get Intellisense when using it as it's possible members are not known until runtime. Not sure how this appears in VSTO. But ActiveSheet.Range("A1").Value=100 is certianly valid VBA. Also, "Sheet" is a member of the PublishObject, but again don't know if using an object name in VSTO is the cause. NickHK "Ray Price" wrote in message ... The VSTO API reference says that the worksheet object has a range property... http://msdn2.microsoft.com/en-us/lib...(VS .80).aspx But in my code I have... Excel.Worksheet sheet = Application.ActiveSheet; but then Sheet.Range does exist Anyone know what's going on here? I am quickly losing patience with VSTO. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
embed an object that links to a specific worksheet or range | Excel Worksheet Functions | |||
Range object and worksheet change event | Excel Programming | |||
VSTO: insert one row into a 1-row range | Excel Programming | |||
Range Question / error 1004: method Range of object Worksheet has failed | Excel Programming | |||
VSTO .net - Adding a Usercontrol unto Worksheet | Excel Programming |