vba insert image comment
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA insert image in comment

VBA insert image in comment

resolvedResolved · Low Priority · Version 2010

replyReply Thu 29 Sep 2011, 21:41Delegate Cristian said...

Cristian has attended:
Excel Introduction course

VBA insert image in comment

In Excel training there was a mention of inserting an image into Comment via VBA. It would be great if somebody could start me with vba code (assume that image link already exists in a cell that needs to be passed to a Comment)

Many thanks

For upcoming training course dates see: Pricing & availability

replyReply Mon 3 Oct 2011, 11:50Trainer Anthony said...

RE: VBA insert image in comment

Hi Christian, thanks for your query. Can you be a bit clearer about what you want to achieve? Are you talking about a picture in a floating comment box on the worksheet? Why do you need to do this?

Anthony

replyReply Sun 9 Oct 2011, 12:24Delegate Cristian said...

RE: VBA insert image in comment

Hi Anthony

Yes I meant the pic within a floating comment. Simple reason for it, to automate inclusion of images within a spreadsheet as I have the full image reference (so looking for a way to pass that reference to the comment box so that it is displayed). When I saw it during the training I had I thought that looks good and clients would like it.

replyReply Sun 9 Oct 2011, 12:57Trainer Anthony said...

RE: VBA insert image in comment

Hi Christian. This link includes code which should give you what you need:

http://www.ozgrid.com/forum/showthread.php?t=84793

Hope this helps,

Anthony

Sun 16 Oct 2011: Automatically marked as resolved.

 

Please browse our web site to find out more about
basic excel training and other Microsoft training courses.

Excel tip:

Convert Text into Number

Some times numbers maybe imported in as text or you maybe concatenating numbers that form a text string that now are treated, because you had to extract them by Text functions

To convert Text into Number just encase the relevant cell reference or formula in the TEXT function. See Converting American Date to European hint

eg TEXT(Ref) or TEXT(formula)

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard