Hi,
my code is already working, but unfortunately only at the example where I created it form.
The problem is the the length of the columns varies because the data are measurements.
This causes that an error occurs where it says that the selected data length doesn't fit.
I choose the data blocks with shift+strg+down and shift+strg+right which creates the codes
. This should be fine so far, but then the next code is
, what might be the problem because it is not flexible and just belongs to the file in which I created the macro in.
I am very new with VBA and would be very glad for any help.
I attached a picture which explains, what I am looking for. The Position of A and B is always the same. C1 and C2 varies. The gap between C1 and C2 is constant as well.
As I mentioned, my code works already, but not in generavorher nachher.pngl, yet.
whole code
Thank
Bookmarks