Updating active cells into vba naruto dating sim 2 walkthrough
Used Range returns a Range object representing the area of a worksheet - read more ...
The returned object type depends on the current selection.
Considering that a range object is the most specific indication of where to start looking, there are quite a few methods that use it to obtain a new range.
Set a range with position relative a starting range.
When using two arguments, the first is a Row index and the second a Column index.
The Row index must be a number, but the column index can be a number or letter.
If a shape was selected instead of a range, using the above code with no error handling in place would result in the error dialog, and the user even maybe entering your code. alternatively, you can use an object variable, and make sure that it is the correct type before continuing.