Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi I have the following code:
If Workbooks("Analysis.xls").Worksheets("Names").Cell s(2, 3)="" Then txtPass = InputBox("Please Insert Your Login") Else txtPass = Workbooks("Analysis.xls").Worksheets("Names").Cell s(2, 3).Value End If What code should I add in order that if the Workbooks("Analysis.xls") is not opened continues the macro still runs txtPass = InputBox("Please Insert Your Login") in the next line Regards, Pedro |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to: Open closed workbook/Search data tables/Return data to open workbook | Excel Discussion (Misc queries) | |||
Opening Excel, Book1 opens, remains open with other workbook open | Excel Discussion (Misc queries) | |||
how do i open a data workbook when i open a timesheet workbook | Excel Discussion (Misc queries) | |||
excel 2003 saved file will not open without a blank workbook open | Excel Discussion (Misc queries) | |||
Search open sheets in workbook and insert into open sheet | Excel Discussion (Misc queries) |