Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default command button controlling a range of dates

Hi,

I would like to accomplish the following:

1. Have a command button that opens up a popup window.
2. Popup window is to have a calendar where you can select multiple
dates (or two calendars where you select start and end date).
3. Popup window will also have three radio buttons, with a value
assigned to each choice.
4. The selected date range will show up on the worksheet with each
date filled out with a number corresponding to the choice made with
the radio button, with each date having its own cell.

Am I trying to do too much with excel?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default command button controlling a range of dates


This can be done in excel if you know what you are doing.

1) From VBA menu : Insert - Userform

2) Add to userform the frame (icon with abc). A frame is used so you
can only select one radio button

3) Add 3 button inside the Fame.

4) Add calendar control to userform by right clicking the Toolbox and
select addional controls. Choose Calendar Control.

I don't know if you evver used a userform but you will need to write
additional code inside the userform to handle everything you want to do.
I just got you started.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=160919

Microsoft Office Help

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
Macro Command Button to Sum specific cells in a range npop03 Excel Programming 5 April 7th 09 10:12 PM
Command Button Dependent on Cell/Range Value BJ Excel Programming 1 June 3rd 08 09:05 PM
Print from Command Button Range Garyw Excel Discussion (Misc queries) 8 May 3rd 07 09:17 PM
Print range & Command Button TimN Excel Programming 3 November 16th 06 10:30 PM
How to create command button to save the dates and time Ken Vo Excel Discussion (Misc queries) 6 January 5th 06 04:18 AM


All times are GMT +1. The time now is 01:20 PM.

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"