Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Insert a metafile with VBA

Hi,

I have a dll (my code) that creates a HMETAFILE / HENHMETAFILE.
Whatever. I want to write a function in VBA, that displays the
contents of a cell graphically with this dll. How do I insert/update a
metafile in my excel sheet?

Thank you very much,

--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}

________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Insert a metafile with VBA

Turn on the macro recorder and do

Insert=Picture=From File

--
Regards,
Tom Ogilvy

"Gernot Frisch" wrote in message
...
Hi,

I have a dll (my code) that creates a HMETAFILE / HENHMETAFILE.
Whatever. I want to write a function in VBA, that displays the
contents of a cell graphically with this dll. How do I insert/update a
metafile in my excel sheet?

Thank you very much,

--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}

________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot insert worksheet in exel - not available in insert menu pedro39 Excel Worksheet Functions 1 July 24th 08 12:09 PM
Excel 2007 line-chart pasted as an enhanced metafile - editing Ben Edwards Charts and Charting in Excel 4 October 7th 07 02:45 PM
Pasting from xl into word as an enhanced metafile LB[_2_] Excel Discussion (Misc queries) 0 April 23rd 07 06:12 PM
How to copy & paste excel charts to Words as Windows Metafile xppuser Charts and Charting in Excel 7 February 6th 06 03:15 PM
Paste Special, Metafile JB in Kansas Excel Discussion (Misc queries) 1 February 23rd 05 08:01 PM


All times are GMT +1. The time now is 10:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"