if you would like to select any image and add as a comment to activecell
Here is the code-
Dim s As String
s = Application.GetOpenFilename("Image Files (*.bmp;*.gif;*.jpg;*.jpeg)," & "*bmp;*gif;*.jpg;*.jpeg")
It will open a folder browse window.Choose any image and will add as comment to activecell.
Saturday, July 16, 2011
Add image as comment to active cell using vba excel
Subscribe to: Post Comments (Atom)
Import data from SQL
Macro to import data from SQL using ADO connection string: Sub Import_data_from_SQL() ' Tools -> References -> Microsoft Active...
If you want to add a new menu on mouse right click "Workbook Navigation showing you the list of all open workbooks and worksheets in ea...
Macro to Export Range in Json Format Option Explicit Sub export_in_json_format() Dim fs As Object Dim jsonfile Dim rangetoex...
How can you also set height and width using this as a start?ReplyDelete
@McCapo Please try these statements . See if it helpsReplyDelete
ActiveCell.Comment.Shape.Height = 100
ActiveCell.Comment.Shape.Width = 100