ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Insert function dialog closes when I click a picture in Excel 2007 (https://www.excelbanter.com/excel-programming/421380-insert-function-dialog-closes-when-i-click-picture-excel-2007-a.html)

abhimanyu

Insert function dialog closes when I click a picture in Excel 2007
 
Hi All,

I have developed an Addin in .NET that displays some information on
the worksheet by reading a file. A number of pictures are generated
and put on the worksheet while reading the file.
The problem is :-

I open the Insert Function Dialog to insert a User Defined Function
into the worksheet
I choose a function and then a new dialog is displayed to get the
target cell
Now if I select a cell the dialog show the selected cell and the
calculated value, but if I select a picture on the sheet it just
closes and the UDF name is inserted into the worksheet without any
parameters.
This is happening in Excel 2007 only. In previous versions the dialog
remains there.

Also, I have programmed to select the underlying cell when a picture
is selected so in that case the dialog should take that cell.

Thanks
Abhimanyu Sirohi



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com