Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 91
Default UserForm:Resume to ListBox1

I have this code in a TextBox in a UserForm.

If ListBox1.Value = "" Then
MsgBox "You need to Select Routes or Cuts"

I would like to then resume to ListBox1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default UserForm:Resume to ListBox1

Maybe...

Me.ListBox1.SetFocus

damorrison wrote:

I have this code in a TextBox in a UserForm.

If ListBox1.Value = "" Then
MsgBox "You need to Select Routes or Cuts"

I would like to then resume to ListBox1


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 91
Default UserForm:Resume to ListBox1

Excelant,
Thanks Dave
Works Great
Dave


Dave Peterson wrote:
Maybe...

Me.ListBox1.SetFocus

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"