Thank you. I'll give it a try when I get to work this morning. Regards, Steve
On Apr 16, 2:30 am, Dave Bonallack <davebonall...@hotmail.com> wrote: > Hi Steve, > > I think the simplest way would be a two-step approach, something like: > > A = MsgBox("Do you want to enter a date?", vbYesNo) > > If A = vbYes Then > > B = InputBox("Enter Date") > > <Do something with Date entered by op> > > End If > > You may want to error trap for a non-date entry. > > Regards - Dave. > > Date: Thu, 16 Apr 2009 10:33:09 +0530 > Subject: $$Excel-Macros$$ Re: Message Box > From: amreliya1...@gmail.com > To: excel-macros@googlegroups.com > > u can use input box for entring a date while running macro > > On 4/16/09, Steve <sspatri...@yahoo.com> wrote: > > Hi, > > I need to insert a message box in the middle of a macro that will > request the user to enter a "Start Date" or give them the option to > skip it and > let the macro continue running. Any help would be deeply appreciated. > > Thanks, > > Steve > > -- > Regards > > Darshan Amreliya > Sr Engineer > Ispat Industries Limited > Cell No 09321063681 > > _________________________________________________________________ > Looking to change your car this year? Find car news, reviews and > morehttp://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworl... --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---