BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 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.