View Single Post
  #6  
Old 01-09-2009, 06:45 PM
mudraker's Avatar
mudraker mudraker is offline
Forum Moderator
 
Join Date: 10 Nov 2003
Location: Melbourne, Australia
Posts: 4,235
mudraker has an addiction to Excel
mewingkitty

You can only have 1 Next command for each For command. - Your code has 2 Next commands.

This limit also applies to End If's, End Selects, Do & Wend loops
__________________
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely

Top Excel links for beginners to Experts

If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assisted or failed to assist you I welcome your Feedback.
Reply With Quote