Visual Basic Application or VBA , when used in Microsoft Excel, is an efficient tool, as repetitive jobs can be automated with its help. Users can even write custom VBA code to meet their programming needs. Using interesting properties like offset, one can operate across different cells in Excel. Operations like selecting the next empty cell in a row can be automatically done and in this article we will provide the VBA code to so.
Try this VBA code in order to select the next empty cell in a row in Microsoft Excel:
ActiveCell.Value = Player.Value
'find last used cell on the row to the right
'move one cell to the right from the last used cell
Image © 123rf.com