Embedding inside excel

42 views
Skip to first unread message

Hristo Hristov

unread,
Mar 4, 2015, 6:48:19 AM3/4/15
to licss...@googlegroups.com
Hello, where can I find the source code which is used to embed the image of the molecule inside an Excel cell?

Thank you.

Kevin Lawson

unread,
Mar 9, 2015, 6:07:35 AM3/9/15
to licss...@googlegroups.com
Hi Hristo
 
All the VBA source code is in the file LICSSV3.2.xla which is in the directory c:\services\licss-3.2 (if you accepted the defaults when installing). However, if you have LICSS 3.2 installed, open Excel and select <Alt F11> to bring up the VBA editor. Choose the LICSSv3 project. The code for inserting the structures is the subroutine 'StructureToggle' in the module 'StructureServer'. This is in essence a routine which uses polling to find out if Excel needs any structures drawing. It calls the C++/Java routine 'SmilesImageToClipboard' to get the structure images.
 
Please let me know if you need any more information.
 
Best wishes
 
Kevin

On Wed, Mar 4, 2015 at 11:48 AM, Hristo Hristov <hristoh...@gmail.com> wrote:
Hello, where can I find the source code which is used to embed the image of the molecule inside an Excel cell?

Thank you.

--

---
You received this message because you are subscribed to the Google Groups "LICSS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to licss-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages