Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hey guys-
I need a macro to open a file in a separate window so that I can view the current file and the new file side by side. My current macro is opening the file within the same window. I also need a message box that will say "Can not file file" if the macro cannot find the file. My current macro opens the message box regardless if if finds the file or not. Can someone help???????????!!!!!!!!!!!1 Sub open_Wiresheet() On Error GoTo Exits Application.Workbooks.Open ("O:\SEM\Common\Accounting\Mar-07 Wire Transfer Schedule.xls") Exits: reply = Msgbox("Cannot find file. Please open file manually", vbOK Or vbQuestion) If reply = vbOK Then Exit Sub End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open Excel Hyperlinks in a new window | Excel Discussion (Misc queries) | |||
excel open in new window | Excel Discussion (Misc queries) | |||
Macro to open print window and set to print entire workbook | Excel Discussion (Misc queries) | |||
Excel workbook does not open in open window on desktop | Excel Discussion (Misc queries) | |||
Open Access Database under and Excel window using a Macro | Excel Worksheet Functions |