ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Passing parameters from clicking a button (https://www.excelbanter.com/excel-programming/409466-passing-parameters-clicking-button.html)

Jay worley

Passing parameters from clicking a button
 
I have two worksheets in a workbook. I would like to pass a file name
parameter into a create file subroutine. Is there a way to pass a parameter
in a subroutine when clicking on a button in each worksheet?
--
Thanks for posting a reply!

joel

Passing parameters from clicking a button
 
You probably have a click function when the button is pressed. Add an Input
box into this function to get the desired input. The input box could select
a cell containing the required data.

"Jay worley" wrote:

I have two worksheets in a workbook. I would like to pass a file name
parameter into a create file subroutine. Is there a way to pass a parameter
in a subroutine when clicking on a button in each worksheet?
--
Thanks for posting a reply!



All times are GMT +1. The time now is 07:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com