Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
GetVstoObject not working
I am trying to customized Excel using VS.Net 2008 vsto using an Excel 2007
Template project type. I can accomplish most of what I need, but I can't add a control dynamically to a newly created sheet. I have followed http://msdn.microsoft.com/en-us/library/cc442981.aspx in trying sheet.GetVstoObject() to get a Microsoft.Office.Tools.Excel.Worksheet object to work with, but GetVstoObject always gives me NullReferenceException. It appears that the VstoObject does not exist. I have SP1 installed for VS2008. Does anyone know how to get this to work? Thanks! Ethan |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
GetVstoObject not working
I have the same issue & also have the latest VS.Net 2008
(v9.0.21022.8) & VSTO with .NET framework 3.5 SP1. GetVstoObject does not even show up in the Object viewer! I checked the references & and even tried scanning various VSTO DLL's to no help. I hope someone from Microsoft is reading this. Sam |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calculate working days but change working week | Excel Discussion (Misc queries) | |||
Making weekend days working days - the system cuts the working tim | Excel Discussion (Misc queries) | |||
Newly created Get Function is not working when I copied the syntax from a working function | Excel Programming | |||
Macro working in Excel 2003; not working in Excel 2000 | Excel Programming | |||
Adding sales from a non working day to the previous working day | Excel Programming |