Hi Dave,
Thanks for the help.
However,
This is my code:
ActiveSheet.OLEObjects.Add(ClassType:="Paint.Picture", Link:=False, _
DisplayAsIcon:=True, IconFileName:= _
"C:\WINDOWS\system32\shimgvw.dll", _
IconIndex:=3, IconLabel:="").Select
When a user click the Add Button, the Paint application opens.
So the user can paste the required image.
Then after closing the application, an icon appears on the selected cell.
There is no existing file.
I should embed an object into a cell on my excel file.
The problem is Paint, in default, is storing the object as a bitmap.
Which makes the overall file size bigger.
Please help.
Thanks a lot!
> You may want to record a macro when you use Insert|Picture|from File
> (xl2003 menus)
[quoted text clipped - 12 lines]
> >
> > -- Kate
Dave Peterson - 18 Apr 2008 13:44 GMT
I don't have any guesses.
Is there a newsgroup dedicated to Paint?
Maybe a search of google for paint and default file format will help.
> Hi Dave,
>
[quoted text clipped - 40 lines]
> >
> > Dave Peterson

Signature
Dave Peterson