Hi Clockmaker.
The code with the tab "Forside" is from the workbook I'm working on or my "Real Workbook".
It was in this code I tried to make the "Multi Range Code".
To show what I wanted to do I needed to make a "Test workbook", with a "Normal Range Code".
It's the code with "Ark1" (Sheet1 in Danish).
This code below should fit this "Test Workbook"
- "Forside" had been changed to "Ark1".
- The range in Set r1-r2 and r3-r4 had been split in two to fit the Test Workbook.
- The REM-line is still the same - Not working because it's to long / contain to many Ranges.
Just copy the code below into the Private Sub Worksheet_SelectionChange(ByVal Target As Range) and I believe it should fit the "Test Workbook".
Kind regards
Ib
Ps. I had tried to change the Set Code as below.
It doesn't work either..
Bookmarks