Bjorn,
Your original code looks OK except you have one Do and two Loops, one With and no End With.
Replace the last 'Loop' with 'End With'.
Are you sure it compiles?
P.
|
Results 1 to 5 of 5
Thread: Code problemThreaded View
|
Click Here to Expand Forum to Full Width |