I have changed the
with
from your code as I want to select the entire column. Your code was very helping thanks a lot for it.
Perhaps I ask you another question relating the code.
I am getting the range at the moment through the Inputbox. Is it possible to
build this code in such a way that the code knows which cells have already been selected. For example I have a workbook open and have selected some cells already and these exactly these cells should be formatted.
In this way I can get rid of inputbox and my solution would be time saving and dynamic.
Bookmarks