vba - Visual Basic - Selection start / end position -
im stuck on problem visual basic. need start , end of selection, in example on image should 12/19. couldnt find on internet.. guess im stupid... hope can me
not clear question, looks textbox
control on userform. if that's case, can start , end of current selection using selstart
, sellength
properties:
dim p1 long p1 = textbox1.selstart dim p2 long p2 = p1 + textbox1.sellength
Comments
Post a Comment