+ Reply to Thread
Results 1 to 3 of 3

Using picture to display table from worksheet on userform; need help modifying picture

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    39

    Using picture to display table from worksheet on userform; need help modifying picture

    Hello,

    I believe this to be a fairly complex question, but wanted to see what you guys have to say about it.

    ExampleFile.xlsm

    So, I need one functional aspect of the picture changed: 1. The picture needs to adjust size to include all the table's visible rows. It has been easier said than done for me because this image is generated by the 'CameraTool' and is of a table on a spreadsheet (which changes sizes). It was the only way I could find to have an image of a table located on a spreadsheet to be visible on a userform.

    The whole workbook is intended to be a vacation calendar for a company department, where employees can input their vacation requests. The code for producing the image is located in Module1, and the actual image is produced from the Vacation Schedule tab. The userform the image is displayed on is accessed by running the macro, selecting 'EagleFord' and "Johnny, Archie" and clicking "Edit / Modify.."

    This is intended to show the vacation requests the person has already submitted.

    I appreciate your time and thoughts.


    Adam

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,487

    Re: Using picture to display table from worksheet on userform; need help modifying picture

    Don't you just need to alter the range the picture is linked to?

    Picture1 =$A$1:$G$6
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Using picture to display table from worksheet on userform; need help modifying picture

    Andy,
    Thank you for your help, and you're right. As simple as I hoped.

    Adam

+ 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. Replies: 6
    Last Post: 06-19-2014, 08:46 AM
  2. [SOLVED] Vlookup VBA to lookup # and display name and Picture in Userform
    By BigDawg15 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-02-2014, 12:19 AM
  3. Display Picture in Userform
    By johan12 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2014, 08:04 AM
  4. Display Picture on userform on click
    By Benjamin2008 in forum Excel General
    Replies: 6
    Last Post: 12-19-2013, 05:41 AM
  5. [SOLVED] display pdf in userform as a small picture in image box
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-28-2013, 06:17 AM

Tags for this Thread

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