Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have some code to open all excel files in a folder, but it will only open
the files that are not hidden. Is there a way to open all the files regardless of hidden status. Here is the code. Sub open_all_files() Dim path As Variant Dim excelfile As Variant path = "c:/users/caleb/documents/commissions experiment/" excelfile = Dir(path & "*.xls") Do While excelfile < "" Workbooks.Open Filename:=path & excelfile excelfile = Dir Loop End Sub Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I toggle between 2 open excel files and leave both open | Excel Discussion (Misc queries) | |||
How to change default Open/Files of Type to "Microsoft Excel Files | Excel Discussion (Misc queries) | |||
hidden macro affects how other files open | Excel Discussion (Misc queries) | |||
how do I open a hidden column? | Excel Worksheet Functions | |||
file open via IE hyperlink causes already open files to shrink and tile | Setting up and Configuration of Excel |