I built a quick userform on my Windows 10 PC and it ran perfectly fine after I enabled the Microsoft InkEdit Control 1.0 field. However, following the same steps on another Windows 10 PC (I've now tried 3 different ones) does not work - the userform crashes.
Specifically, I've narrowed down the crashing to occur whenever InkEdit uses some method with "Sel" in it. For example, Me.InkEdit1.Text = "something" works, but Me.InkEdit1.SelText = "something" crashes excel, and gives no indication of what causes it (though through elimination I know its any .Sel... addition).
Some sample code is:
In the above, if I enable SelText, SelStart, SelLength etc. excel crashes. But my main PC that I built this on had no issues and ran perfectly fine.
Does anyone know what might be the difference? Unfortunately I don't have access to my original PC so I cannot check what tools/controls/libraries are installed.
Any help is much appreciated!
Specifically, I've narrowed down the crashing to occur whenever InkEdit uses some method with "Sel" in it. For example, Me.InkEdit1.Text = "something" works, but Me.InkEdit1.SelText = "something" crashes excel, and gives no indication of what causes it (though through elimination I know its any .Sel... addition).
Some sample code is:
VBA Code:
Private Sub UserForm_Initialize()
i = Cells(2, 9).Value
CurrentArticle = Cells(i, 1).Value
CurrentEntity = Cells(i, 2).Value
CurrentTag = Cells(i, 3).Value
Entity_Start = Cells(i, 4).Value
Entity_End = Cells(i, 5).Value
Entity_Length = Cells(i, 6).Value
Me.InkEdit1.Text = CurrentArticle
'Me.InkEdit1.SelText = CurrentArticle
'Me.InkEdit1.SelStart = Entity_Start
End Sub
In the above, if I enable SelText, SelStart, SelLength etc. excel crashes. But my main PC that I built this on had no issues and ran perfectly fine.
Does anyone know what might be the difference? Unfortunately I don't have access to my original PC so I cannot check what tools/controls/libraries are installed.
Any help is much appreciated!