Hi All.
Excel 2007 / WinXP
I wish to apply a formula to an inserted picture. The formula would be a named range, say .formula = "=NamedR". This should be done all through VBA. A large number of workbooks need to be processed.
To insert the picture I used the usual .Picture.Insert(...) function. I then Set a shape picture object to the newly inserted picture and select it to be able to assign the .Formula method. I was not successful as I was getting an error. The error being that it cannot apply the method to the picture class.
I opened a new workbook and tried it out. I had a named picture.
The above is just one of the many ways I tried to apply the .Formula method. I even tried to copy the picture. Not a successful move either. I have searched extensively over the internet. Exceptionally, only in Excel 2007 the picture cannot be named! And embedding might be giving me problems with these figures when I convert the worksheet to a PDF. I might find a way to use a later version of Excel, but I would like to find a solution with the tools I currently enjoy without continuously depending external sources.
Thanks in advance for the help.
Excel 2007 / WinXP
I wish to apply a formula to an inserted picture. The formula would be a named range, say .formula = "=NamedR". This should be done all through VBA. A large number of workbooks need to be processed.
To insert the picture I used the usual .Picture.Insert(...) function. I then Set a shape picture object to the newly inserted picture and select it to be able to assign the .Formula method. I was not successful as I was getting an error. The error being that it cannot apply the method to the picture class.
I opened a new workbook and tried it out. I had a named picture.
The above is just one of the many ways I tried to apply the .Formula method. I even tried to copy the picture. Not a successful move either. I have searched extensively over the internet. Exceptionally, only in Excel 2007 the picture cannot be named! And embedding might be giving me problems with these figures when I convert the worksheet to a PDF. I might find a way to use a later version of Excel, but I would like to find a solution with the tools I currently enjoy without continuously depending external sources.
Thanks in advance for the help.