Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi peoples
I need to make an adjustment to my code. If it opens the file DATA.xl it needs to return to the original file (that was already open). Th original file is different every month. Dim wbk As Workbook On Error Resume Next Set wbk = Workbooks("DATA.xls") On Error GoTo 0 If wbk Is Nothing Then Workbooks.Open Filename:= _ "C:\DATA.xls" Exit Sub End If Regards Stephe -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to return to original cell | Excel Discussion (Misc queries) | |||
Hyperlink to web does not return to original Excel worksheet | Excel Discussion (Misc queries) | |||
HOW DO I RETURN TO A RECOVERED FILE AFTER CHOOSING ORIGINAL | Excel Discussion (Misc queries) | |||
Auto save replaced my original file and now I need the original? | Excel Discussion (Misc queries) | |||
Why will solver only return the original adjustable cell values? | Excel Worksheet Functions |