ADVERTISEMENT
That's because that code is totally different from the code you originally posted.I put End If after the Next CD line and i am still getting the same error.
Yes i apologise for this mistake i fixed it on my third post.That's because that code is totally different from the code you originally posted.