The Course Booking Form

  • Thread starter Thread starter jack1
  • Start date Start date
J

jack1

I am trying to recreate the course booking form. I cannot get the Ok
button coding to work.

It says that there is a loop without Do

Do

If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select

Loop Until IsEmpty(ActiveCell) = True

Thank
 
You're missing an "end if" statement:
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
end if ' Add this
Loop Until IsEmpty(ActiveCell) = True

Regards,
Phil Webb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top