vba insert image comment

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

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

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

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.

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.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Freeze Rows and Columns to keep lables displayed

You can freeze rows and columns in your worksheet so they don't move.

This allows you to keep row and column labels displayed on your screen as you move through a large worksheet.

Click below and/or to the right of the cell(s) you want to freeze. (NB. Excel freezes ALL the rows above and ALL the columns to left of the selected cell)

Click on the 'Windows' menu and selct 'Freeze Panes'.

Lines appear in your worksheet. The required rows and columns are frozen and remain on your screen as you move through your worksheet.

To unfreeze rows and columns, click on 'Window' menu and select 'Unfreeze Panes'.

View all Excel hints and tips


Server loaded in 0.07 secs.