Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Danielle Daniels   on Feb 12 In MS Office Category.

  
Question Answered By: Rory Anderson   on Feb 12

Not sure of this item is in a form. I tested this macro with a 'spinner' form
item placed on a worksheet:

Sub SetMaxValue()
vNameBoxValueForShape = "SpinnerX2"
vLimitValueInCellM5 = Range("M5").Value
ActiveSheet.Shapes(vNameBoxValueForShape).Select
Selection.Max = vLimitValueInCellM5
End Sub

To automatically get the value  from M5 into the Shapes control  MAX value, you
will need a worksheet 'Change' event that fires when the value in M5 changes.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Setting maximum value in Format Control for slider Or get search suggestion and latest updates.


Tagged: