Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Weeepie,
Use FullName, not Path: Dim Pad As String Pad = ActiveWorkbook.FullName ActiveWorkbook.Close SaveChanges:=False Workbooks.Open Pad As long as the activeworkbook is not the book with the code, that should work well. HTH, Bernie MS Excel MVP "Weeepie" wrote in message ... Hello, I want to reopen a workbook trough VBA without saving. But when I close then I lose my code and it does'nt continue. I've tried this Dim Pad As String Pad = ActiveWorkbook.Path ActiveWorkbook.Close SaveChanges:=False Workbooks.Open Pad Thx for helping me out Weeepie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
series w/ named range not shown when reopen chart | Charts and Charting in Excel | |||
Series Formatting changes when I save and reopen a document | Charts and Charting in Excel | |||
How to show gridlines when I close & reopen without having to go | Excel Discussion (Misc queries) | |||
Hyperlinks breaking when save/reopen file... | Excel Discussion (Misc queries) | |||
how to reopen the ms office 2003 which was accidentally erase | Excel Discussion (Misc queries) |