Hi
I am trying to create a VBA to clear a list with specific works.
I am having this issue:
Next without For.
Anybody could help me.
Thanks
Please Login or Register to view this content.
Hi
I am trying to create a VBA to clear a list with specific works.
I am having this issue:
Next without For.
Anybody could help me.
Thanks
Please Login or Register to view this content.
Last edited by Pepe Le Mokko; 10-24-2019 at 11:22 AM.
Please use code tags when entering code. (read the forum rules)
The error you mention is exactly that there is a For statement but there is no Next or v.v. or there is an If with no End If
Check the lop for b = 1 to 300 and you'll see it
That's called troubleshooting.
---
Hans
"IT" Always crosses your path!
May the (vba) code be with you... if it isn't; start debugging!
If you like my answer, Click the * below to say thank-you
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however you need to include code tags around your code.
Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.
Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
I did it for you this time. Please read forum rules. Thanks
Thanks!
I had it swapped!
Well. glad it helped, it's never as bad as you think, but it's always hidden in a place you don't expect
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks