+ Reply to Thread
Results 1 to 5 of 5

Change Image on VBA based on pdf available or Not

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    AA
    MS-Off Ver
    Word 2010
    Posts
    26

    Change Image on VBA based on pdf available or Not

    Hi There

    We created a xlsm VBA form to capture PC Checklist. Download from link below:
    https://ufile.io/y9dci

    on the VBA form the orange pdf icon on the vba form to change if has pdf or no pdf
    No PDF.png:

    Note:
    1) the main worksheet is "Sheet4"
    2) is it protected worksheet, the password to unprotect "Sheet4" is : Secret
    3) Now how you going to find out if there is a pdf to this record, we are saving the actual pdf files in the local user directory which is : C:\Checklists\
    4) The pdf file names are the " Alb Tag No" field, so example for "Ahmed Murchie" the Alb Tag No is " DBN004350F " so if there a pdf file in the " C:\Checklists" with the filename " DBN004350F.pdf " then this pdf indicator icon must appear. If no pdf file then display nothing.
    5) it must check and update if any ScreenUpdating or on Listbox selection on the VBA form

    so attached the both pdf icons. Download from below
    Available PDF.bmp
    No PDF.bmp


    Regards
    ShabeerSA

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Change Image on VBA based on pdf available or Not

    Seems to be essentially the same issue as https://www.excelforum.com/excel-pro...m-listbox.html

  3. #3
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Change Image on VBA based on pdf available or Not

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  4. #4
    Registered User
    Join Date
    04-22-2013
    Location
    AA
    MS-Off Ver
    Word 2010
    Posts
    26

    Re: Change Image on VBA based on pdf available or Not

    ok sorry i am new to this. will not happen again

  5. #5
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Change Image on VBA based on pdf available or Not

    but if you do (and it's unlikely to go unnoticed), you MUST provide a link
    Note the comment... the same applies on at least one other forum you posted this issue

+ 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: 2
    Last Post: 07-02-2013, 03:36 PM
  2. Change colour of Image with change in cell value.
    By jatin_soni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2013, 01:46 AM
  3. Change image based on cell value
    By Schneedrache in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-22-2011, 04:37 PM
  4. Display Image Based On Image Name In Cell
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2011, 10:11 AM
  5. Change picture in image control based on cell values.
    By Rberg365 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2010, 05:26 PM
  6. Change image based on result.
    By nashsaint in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2008, 06:56 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