+ Reply to Thread
Results 1 to 4 of 4

how to pass parameters to onAction

  1. #1
    Registered User
    Join Date
    02-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    78

    how to pass parameters to onAction

    Hi,

    I have a shape in my worksheet and I have defined onAction property to it.

    Now i want to pass parameter to the macro which is associated with the OnAction property,

    Please Login or Register  to view this content.
    The macro name is ImageRemoveClick and now i need to pass parameters- "param" to it

    the macro definition will be
    Please Login or Register  to view this content.
    Any help??

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: how to pass parameters to onAction

    Where will the parameter be picked up from? When you click it there is no way of defining the parameter.

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

    Re: how to pass parameters to onAction

    Please Login or Register  to view this content.
    Although you maybe better off using the AltenativeText property as a storage for your parameter
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    02-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: how to pass parameters to onAction

    Thanks , will try that out!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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