1 Reply Latest reply: May 25, 2011 6:36 PM by John Witherspoon RSS

    function with parameters in botton

    morua amaya jorge alberto

      I need to create a function with parameters that are run when clickingon a button, the idea is

      function detalleActiva (mihoja)

      ====> MACRO

                if ActiveDocument.Variables("v_muestra_ventas").GetContent.String="1" then

                               ActiveDocument.ActivateSheetByID (mihoja)



                               ActiveDocument.ActivateSheetByID (mihoja)

                end if

      end function



      detalleActiva ("SH04")


      how can i execute this function in the clic botton???