Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I'm using this open_workbook macro- Code: -------------------- Private Sub Workbook_Open() ImportData End Sub -------------------- I want it to only import the data if the workbook is opened between 9:30 pm and 9:40 pm So I've been trying to use all diff types of time iff statements and I can't figure out the right way to state it? If Time = "21:30:00", <="21:40:00" then but it won't let me put in the comma? I've also tried ( )'s!! Where am I going wrong? Do I need to use NowTime or just Now? Any help would be awesome-- Thanks- Mike -- buzzharley ------------------------------------------------------------------------ buzzharley's Profile: http://www.excelforum.com/member.php...o&userid=35886 View this thread: http://www.excelforum.com/showthread...hreadid=558952 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open Workbook at a certain time | Excel Worksheet Functions | |||
How do I set up a workbook to open on a cell reference every time | Excel Discussion (Misc queries) | |||
Able to open same excel workbook at the same time ! | Excel Programming | |||
Why does Excel 2003 open on 3rd tab of workbook every time, not l. | Excel Worksheet Functions | |||
How to stop having to re-assign macros every time you open a workbook??? | Excel Programming |