ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ProgressBar in VSTO (https://www.excelbanter.com/excel-programming/348763-progressbar-vsto.html)

Bob Sullentrup

ProgressBar in VSTO
 
Folks,

Looks as if a ProgressBar control can be found in MSComCtlLib.

How do I get it to work in VSTO?

For a button, I need to say:

Me.btnTestDataLayer = CType(Me.FindControl("btnTestDataLayer"),
MSForms.CommandButton)

In the OpenWorkbook event.

Me.ProgBar = CType(Me.FindControl("ProgressBar1"),
MSComCtl.ProgressBar)

does not work.


--
Bob Sullentrup


All times are GMT +1. The time now is 06:46 PM.

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