+ Reply to Thread
Results 1 to 2 of 2

Using picture file in Excel VBA and want to go to sharepoint

  1. #1
    Registered User
    Join Date
    04-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2003 / Excel 2010
    Posts
    1

    Using picture file in Excel VBA and want to go to sharepoint

    1st time post on here.

    So I have an extensive form system and one of the forms allows the user to select % complete of a certain task. To do this, the users click the picture of a 25% incremented pie graphic. So if the item is 25% complete, they click the blank pie and the image changes to 1/4 of the pie being filled in. To grab these .jpg's they are located in a folder in the same directory as the spread sheet in a shared network folder. The problem now is that management wants the sheet on sharepoint. Ideally, I'd put the .jpgs in the sheet itself so it wouldn't have to go external to grab these image files. Is there a way to paste the .jpg's right into the spread sheet and be able to reference them through code?

    Thanks in advance.

    Here's the current code that lies within the button click method:

    frmPIO.Controls("btnItem" & btnNumeral).Picture = LoadPicture(filePath + "PIO Progress 25 (Resized).jpg")

  2. #2
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: Using picture file in Excel VBA and want to go to sharepoint

    Hi brent,

    why not put both pictures and spreadsheet on sharepoint?

    Regards

    Fettertiger
    Remember To Do the Following....
    1. Upload sample files
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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