+ Reply to Thread
Results 1 to 2 of 2

image control doubts

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    Karnataka, India
    MS-Off Ver
    Excel 2007
    Posts
    48

    image control doubts

    i have written a macro that turns off and on the visibilty of an image control that i have inserted in "Sheet1".
    So i have written the code in the "Sheet1" part in the vba and not in a module, the macro is working fine.
    But i want this macro to run at the end of another macro which is written in a module, but it is showing an error saying object or function not defined.

    Y is the module not recognizing this macro that is written in "Sheet1"??

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: image control doubts

    In Sheet1 module:
    Please Login or Register  to view this content.
    In a module:
    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 03-05-2013 at 05:48 PM. Reason: Added code tags, as per forum rules. Don't forget!
    Ben Van Johnson

+ 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