InkEdit Crashing Excel with No Error Message

DOOGLAK

New Member
Joined
May 3, 2019
Messages
2
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:

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!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

If you do cross-post in the future please provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top