Thank you for the quick responce. It took me a while to extract the relevant code into a seperate project. Find attached to this post the project. The times for creating around 160.000 ranges takes on my machine without threading 49minutes.
Here is a list with times for creating and naming a range. The number specifies how many ranges have been created so far. ApplyName and createName specifies the seconds it takes to create a singe Range:
ApplyName=“0,0019” createName=“0,0012” number="0"
ApplyName=“0,0011” createName=“0,0000” number="5000"
ApplyName=“0,0014” createName=“0,0000” number="10000"
ApplyName=“0,0037” createName=“0,0000” number="15000"
ApplyName=“0,0041” createName=“0,0000” number="20000"
ApplyName=“0,0058” createName=“0,0000” number="25000"
ApplyName=“0,0074” createName=“0,0000” number="30000"
ApplyName=“0,0087” createName=“0,0000” number="35000"
ApplyName=“0,0092” createName=“0,0000” number="40000"
ApplyName=“0,0068” createName=“0,0000” number="45000"
ApplyName=“0,0102” createName=“0,0000” number="50000"
ApplyName=“0,0095” createName=“0,0000” number="55000"
ApplyName=“0,0089” createName=“0,0000” number="60000"
ApplyName=“0,0159” createName=“0,0000” number="65000"
ApplyName=“0,0159” createName=“0,0000” number="70000"
ApplyName=“0,0179” createName=“0,0000” number="75000"
ApplyName=“0,0136” createName=“0,0000” number="80000"
ApplyName=“0,0203” createName=“0,0000” number="85000"
ApplyName=“0,0151” createName=“0,0000” number="90000"
ApplyName=“0,0196” createName=“0,0000” number="95000"
ApplyName=“0,0235” createName=“0,0000” number="100000"
ApplyName=“0,0155” createName=“0,0000” number="105000"
ApplyName=“0,0242” createName=“0,0000” number="110000"
ApplyName=“0,0199” createName=“0,0000” number="115000"
ApplyName=“0,0281” createName=“0,0000” number="120000"
ApplyName=“0,0294” createName=“0,0000” number="125000"
ApplyName=“0,0308” createName=“0,0000” number="130000"
ApplyName=“0,0256” createName=“0,0000” number="135000"
ApplyName=“0,0345” createName=“0,0000” number="140000"
ApplyName=“0,0299” createName=“0,0000” number="145000"
ApplyName=“0,0368” createName=“0,0000” number="150000"
ApplyName=“0,0233” createName=“0,0000” number="155000"
ApplyName=“0,0389” createName=“0,0000” number="160000"
I hope this help you identifiering the issue.
Best regards
Timo