PZiegler12
New Member
- Joined
- Aug 25, 2015
- Messages
- 3
Hi,
I have this code which creates an ActiveX Check-Box with vba:
So far. Now how can I update the LinkedCell immidiately after I created the CheckBox?
Is there a OLEObject-Method? The Value which is updated can be "WAHR" oder "FALSCH"
which is written to the LinkedCell.
Thanks for Answers
I have this code which creates an ActiveX Check-Box with vba:
Code:
With .OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, DisplayAsIcon:=False, _
Left:=30, _
Top:=30, _
Width:=20, _
Height:=5)
.Name = "check_Sb_"
.Object.Caption = "checkbox Sb"
.Object.Value = False
.LinkedCell = Cells(10, 13).Address(0, 0)
.Enabled = True
End With
So far. Now how can I update the LinkedCell immidiately after I created the CheckBox?
Is there a OLEObject-Method? The Value which is updated can be "WAHR" oder "FALSCH"
which is written to the LinkedCell.
Thanks for Answers