ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Spin Button Programming (https://www.excelbanter.com/excel-programming/440363-spin-button-programming.html)

Squeaky

Spin Button Programming
 
Hi All,

Using Excel 2007. Is is possible to change the linked cell of a spin button
(Active X) using VBA?

Thanks,

Squeaky

Mike H

Spin Button Programming
 
Hi,

ActiveSheet.OLEObjects("SpinButton1").LinkedCell = "f12"


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Squeaky" wrote:

Hi All,

Using Excel 2007. Is is possible to change the linked cell of a spin button
(Active X) using VBA?

Thanks,

Squeaky



All times are GMT +1. The time now is 06:20 AM.

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