ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   OnAction to show a userform (https://www.excelbanter.com/excel-programming/297599-onaction-show-userform.html)

Todd huttenstine

OnAction to show a userform
 
hey below is a code I have that assigns a procedure within
a standard module to a button. It works perfect.

ctrlButton11.OnAction = Application.StartupPath
& "\ImportData.xls" & "!ExportData.ExportData"

How would I assign the code to show a userform called
InstantUpdate in workbook ImportDataUpdater.xls?


Thank you
Todd Huttenstine

Bob Phillips[_6_]

OnAction to show a userform
 
Your called macro would show the form.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Todd Huttenstine" wrote in message
...
hey below is a code I have that assigns a procedure within
a standard module to a button. It works perfect.

ctrlButton11.OnAction = Application.StartupPath
& "\ImportData.xls" & "!ExportData.ExportData"

How would I assign the code to show a userform called
InstantUpdate in workbook ImportDataUpdater.xls?


Thank you
Todd Huttenstine





All times are GMT +1. The time now is 10:39 AM.

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