Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Radio Control Confirm problem

I'm using radio buttons to switch between modes (New & Edit) in an Excel
Worksheet. Each of these modes has associated controls and code. When a user
switches between New & Edit, their "in-progress" changes will be lost. I want
to ask them to confirm that they want to do this and lose any unsaved
information.

I've been using a VB Yes/No box with the message ("Do you want to switch to
New/Edit and lose unsaved information?"). The problem is when the user
selects "No".

Here's a typical problem workflow. User is working in "New" mode. He clicks
the "Edit" radio button. The radio button is selected and on click() the
confirmation box pops up. User doesn't want to lose unsaved information, so
clicks no. Radio button reverts to "New" mode.

However, in reverting back to "New" mode, Excel now pops up the opposite
confirmation asking if the user wants to enter new mode, etc, etc. Clicking
"no" everytime leads to an endless loop.

Help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Radio Control Confirm problem

Hi Steve4446

Just in case... Are you exiting the sub after the user selects No???
i.e.

If Result = vbNo Then

Exit Sub

end if


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing radio button control Andreww Excel Programming 2 March 20th 07 08:25 PM
How to control radio buttons on a web page? festdaddy Excel Programming 0 July 25th 06 12:18 PM
Problem: Control Toolbox Control resizes when clicked Ed Excel Programming 1 July 27th 05 07:55 AM
VBA: Disable Frame and Radio Buttons based on Another Radio Button Being True Mcasteel Excel Worksheet Functions 2 October 29th 04 07:06 PM
Control Radio Buttons to VBA JasonSelf[_10_] Excel Programming 0 May 13th 04 03:28 PM


All times are GMT +1. The time now is 03:46 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"