+ Reply to Thread
Results 1 to 14 of 14

A question regarding utilizing the comment function for photographs

  1. #1
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    A question regarding utilizing the comment function for photographs

    I use the comment function in making spreadsheets for collectibles to add photographs and various other key information. In regards to the photographs, is their a way to preset the image size to be the same for each cell without having to size the photo for each cell in each row or can it be done by formatting each column to cover each individual cell in a row? Hopefully, I have made myself clear as to my needs, if not I apologize.
    Thank you for your assistance.
    Jim

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: A question regarding utilizing the comment function for photographs

    try this method...

    Please Login or Register  to view this content.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    Thanks for your reply kev. As I said, I am NOT any form of an expert with excel and have not entered commands before. Can you guide me thru the process of entering this command? Again, I thank you for your time and in no way wish to abuse it.
    Thank you,
    Jim

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: A question regarding utilizing the comment function for photographs

    easiest way:

    {ALT}{F11} (takes you to VBA window) \ Insert \ Module \ Paste the code in that window

    {ALT}{F11} (takes you to back to Excel)

    {ALT}{F8} (brings up macro list)

    Select ResizeImagesInComments and run

    You will need to save your workbook as macro-enabled
    Last edited by kev_; 06-23-2018 at 10:10 AM.

  5. #5
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    I tried that, kev, but I get an out of memory error 7 and I tried reloading 2003 but to no avail. So I'll have to repair this first.
    Again, I thank you for your prompt reply.
    Jim

  6. #6
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: A question regarding utilizing the comment function for photographs

    Try in a new file with only 3 cells with comments containing images
    - that will at least prove the code works with 2003 (I tested with 2016)

    Let me know and we will take it from there.
    How many cell comments contain images?

  7. #7
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    None, new worksheet I was trying it on.

  8. #8
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: A question regarding utilizing the comment function for photographs

    I have no idea why it is not working, but guess that something has changed since Excel 2003. Let's break down the code to see what happens.

    In a new workbook
    1. In Sheet1 insert a shape in a comment in cells A1 to A5 (5 cells all with comments)

    2. Put this code in a module as before
    Please Login or Register  to view this content.
    3. Run each macro as before and let me know what the 2 message boxes return
    - CountComments should return 5
    - I am guessing that width and height may not be returned

    4. How do you insert a shape into a comment in Excel 2003?
    - brief list of options\actions taken

  9. #9
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: A question regarding utilizing the comment function for photographs

    I have attached workbook containing above 3 macros in format that is compatible with Excel2003
    Download it and see if you can run the macros
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    It says VBE6EXT.OLB could not be loaded and when you enter ok, it says out of memory

  11. #11
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    I ran Office 2003 repair editor and it seemed to repair it at first, but when I did as you instructed(A1,A2,A3,A4,A5 with pic in comments) and hit the Alt/F11 key here's what I got.
    2018-06-23_19-21-14.jpg

  12. #12
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    kev,
    Thank you so much, it worked fine this time, don't know why but it did and its exactly what I need. Again, I truly thank you.
    Jim

  13. #13
    Registered User
    Join Date
    06-22-2018
    Location
    Cool Ridge, WV
    MS-Off Ver
    2003
    Posts
    9

    Re: A question regarding utilizing the comment function for photographs

    BTW, the first easiest way was what worked. I just had some malfunction that running Microsoft Repair Editor fixed. Then all was well using the easiest way. Great. Already used it on a 180 picture worksheet in comments over A,B,C,D columns and 1-62 rows. They are all the same. For some reason I had to make the width about 20% larger than heighth to get them equal when viewing them via mouseover. Hopefully, I will not aggravate you again.
    Jim

  14. #14
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: A question regarding utilizing the comment function for photographs

    Glad you found the source of the problem.
    Please click Thread Tools @top of thread and mark thread SOLVED
    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Function to return comment from a cell, or null string if no comment
    By Monkihunta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-22-2017, 01:01 PM
  2. How to scan photographs directly into Excel???
    By nnemrac in forum Excel General
    Replies: 5
    Last Post: 03-31-2015, 03:31 AM
  3. Disable Delete Comment, Edit Comment, Show/Hide Comment
    By Shanthan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2013, 06:12 AM
  4. Replies: 18
    Last Post: 06-03-2012, 09:23 AM
  5. Excel 2007 : Sorting with photographs
    By hyrig1953 in forum Excel General
    Replies: 0
    Last Post: 06-24-2009, 06:42 PM
  6. Utilizing iteration in conjunction with Excel function
    By Squash_Pro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2008, 03:37 AM
  7. [SOLVED] Comment question please
    By Bob Newman in forum Excel General
    Replies: 6
    Last Post: 07-24-2005, 01:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1