BoldDesk®Customer service software with ticketing, live chat & omnichannel support, starting at $99/mo for unlimited agents. Try it for free!
>
Me.grdAGCY_AR.Focus()
Me.grdAGCY_AR.CurrentCell.MoveTo(-1, -1)
Clicking the button gives the focus to the button, and when the messagebox closes, it is teh button that retains focus and not the grid. So, calling grid.Focus gives the focus back to teh grid. The other call is to force the cell to refresh itself.