Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Using InpubBox to enter dates in two Excel cells

Hello,

I have a worksheet, which must remain protected out of the two cells where
the user has to enter two dates, with 5 sheets containing prices I compare
using a StartDate and a End Date.

There should be a button €śCompare€ť
- starting a macro which opens a InputBox
- for the input of StartDate in the form as 25/05/1997
- and EndDate in the form as 25/09/1997,
- putting the dates respectively in the cells G3 and G4 of the sheet €śRates1€ť

Should the date be written in wrong way a MsgBox should show the message
"Please use the form DD/MM/1997" (the year must be always this!!!)

Thank you for helping
--
dilettante
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Using InpubBox to enter dates in two Excel cells

This Post iwas sent incomplete.
Please have al ook to the next one:
How to enter dates in Excell cells using InputBox
Thank you
--
dilettante


"dilettante" wrote:

Hello,

I have a worksheet, which must remain protected out of the two cells where
the user has to enter two dates, with 5 sheets containing prices I compare
using a StartDate and a End Date.

There should be a button €śCompare€ť
- starting a macro which opens a InputBox
- for the input of StartDate in the form as 25/05/1997
- and EndDate in the form as 25/09/1997,
- putting the dates respectively in the cells G3 and G4 of the sheet €śRates1€ť

Should the date be written in wrong way a MsgBox should show the message
"Please use the form DD/MM/1997" (the year must be always this!!!)

Thank you for helping
--
dilettante

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
How to enter excel dates for last year? JCarlosJr Excel Discussion (Misc queries) 10 April 4th 10 12:22 PM
How do I enter BC dates in Excel? Joe H[_2_] Excel Worksheet Functions 3 January 28th 09 12:25 AM
Enter 2 dates in same excel cell m_a_turcotte Excel Discussion (Misc queries) 4 May 16th 06 08:15 PM
In Excel, is there a way to enter dates in mm/yyyy format? Marshaann_82 Excel Discussion (Misc queries) 2 April 3rd 06 09:44 PM
Excel: How do I enter a date in one cell & automatically dates adj Shannon Excel Discussion (Misc queries) 4 January 12th 05 12:51 AM


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