LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default YES/NO Button - Tied to Macro Functions


I need some help tieing yes/no option buttons to macros for several
different functions.

I have a menu page with five separate yes/no questions and a second
sheet that has a variety of inputs in columns A, B and C.

The user will make yes or no selections on the menu page and click a
command button ("Submit"). The command button will be tied to all
macro functions that follow. For example, if the user selects "no" for
question one and "yes" for the other four questions, then the macro
will...

1. Delete contents of sheet 2 A4
2. Delete contents of sheet 2 B7
3. Delete contents of sheet 2 B11
4. Prompt user for a "name" input, which will be used to find and
replace the word "person" in all cells on sheet 2.
5. Create a new file out of sheet 2 and save it as "name"
6. Close the original file without saving changes.


If the user selects "no" for questions one and two, then

--Perform the same steps as one through three above
--Delete cells A2 and C5 on sheet 2
--Resume with steps four through six from above


--
TEAM
------------------------------------------------------------------------
TEAM's Profile: http://www.excelforum.com/member.php...o&userid=22810
View this thread: http://www.excelforum.com/showthread...hreadid=539385

 
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
Pictures tied to rows. David Henderson Excel Programming 3 March 16th 06 10:49 PM
Drop Down button with functions? hummus19 Excel Worksheet Functions 3 August 18th 05 09:00 PM
Statistical functions not tied to Application.WorksheetFunction R Avery[_2_] Excel Programming 5 March 30th 05 04:29 PM
Pause macro, add form button to sheet, continue macro when button clicked! Flystar[_15_] Excel Programming 1 May 26th 04 09:45 AM
Summation of cells tied to Checkboxes Excel-erate2004[_6_] Excel Programming 3 April 24th 04 09:07 PM


All times are GMT +1. The time now is 02:39 PM.

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

About Us

"It's about Microsoft Excel"