+ Reply to Thread
Results 1 to 2 of 2

VBA to copy picture on click from another sheet not functioning

  1. #1
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    VBA to copy picture on click from another sheet not functioning

    Hi everyone,

    I am trying to make a code that will select a picture based on a selection in a certain cell. If they select cell D2 to be Albany, I would like the code to pull the picture Albany_Market from sheet misc.

    Picture_Delete is another subroutine which deletes the picture currently in the spot.

    The code worked fine when it was executed on a button, but when I tried to have it executed on a cell change (D2) it does not work. I am wondering what I have done wrong?

    Thanks.


    *Sorry not on click, executed on cell change.



    Please Login or Register  to view this content.
    Last edited by jake.masters; 09-19-2012 at 08:34 AM. Reason: Execute on cell change.

  2. #2
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: VBA to copy picture on click from another sheet not functioning

    I had the code in a module rather than in the workbook...

    Sorry I am new to the forum.

+ 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