Andrew Saunders
Posts: 17
Joined: 2006-03-21
|
Hello everybody,
I am using add-in express for the first time and am building an excel add-in (I am using excel 2000). I don't seem to be able to get a reference to excel - it returns nothing.
In particular I am building a wizard into my add-in and on one of the wizard panels I wish to get the current excel cell address into a textbox. How do I do this?
I have tried the following function to get the cell address but it just returns nothing.
Private Function GetSelectedRange() As Excel.Range
Dim excelApp As Excel._Application = HostApplication
Return excelApp.Selection
End Function
All help is appreciated.
Thanks.
|
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
|