Skip to main content
niton's user avatar
niton's user avatar
niton's user avatar
niton
  • Member for 12 years, 1 month
  • Last seen this week
Stats
9,116
reputation
994
reached
5
answers
1
question
Loading…
About

Add Option Explicit to the top of your VBA code. Remove unused variables and declare the rest. https://excelmacromastery.com/vba-error-handling / "On Error Resume Next , is the most commonly used and misused form. It instructs to VBA to essentially ignore the error and resume execution on the next line of code. It is very important to remember that On Error Resume Next does not in any way "fix" the error." http://www.cpearson.com/excel/errorhandling.htm

2
gold badges
15
silver badges
12
bronze badges
27
Score
3
Posts
50
Posts %
25
Score
3
Posts
50
Posts %
4
Score
3
Posts
50
Posts %
1
Score
1
Posts
17
Posts %
1
Score
1
Posts
17
Posts %
-18
Score
1
Posts
17
Posts %
Top posts