Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
Cell SelectAll
posted

On form load i want a select all text in a particular cell value.

Here is my code, and cell is editable by user

 

ugPayments.ActiveCell = ugPayments.Rows(i).Cells(4)

ugPayments.ActiveCell.Selected =

True

ugPayments.ActiveCell.SelectAll()

But it is throwing me an error saying

Operation cannot be performed when not in edit mode.

Parents Reply Children