Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am browsing with my macro through a list of items with quantities
and I am showing a user form with Yes-No buttons to confirm deletion of zero quantity records. The request now is to make the form modeless to be able to browsing in the sheet before clicking Yes or No in the form. When I set the form as modeless, user can switch to sheet and browse the list, but the macro continues in processing. Then the macro does not know, what user clicked, so the rest of macro does not work. Example: for r = 1 to lastcell if cells(r,1) = 0 then 'show the modeless form and wait for Yes/No confirmation if ClickedYes then 'delete the record end if end if next r Thank you Zdenek Moravec |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Modeless userform | New Users to Excel | |||
Modeless property | Excel Programming | |||
Modeless userform | Excel Programming | |||
Modeless form disappears on deleting sheet | Excel Programming | |||
Modeless form for user interaction | Excel Programming |