ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   opening directory from excel (https://www.excelbanter.com/excel-programming/301592-opening-directory-excel.html)

Pradyumna.

opening directory from excel
 
hi

i am trying to open a directory location from excel on click of a button on the form in the workbook.

presently using shell execute for this but am not able to get the window handler for it.

how do i do this? any suggestion will be of gr8 help

thankx in advance

Pradyumna.

Berend Botje[_18_]

opening directory from excel
 
You can use these 2:

Workbooks.Open Filename:="Filename.xls"

or

Dim WB as workbook
Set WB = Workbooks.Open("Filename.xls")

The last one lets you do things when it is opened (like make it rea
only

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 07:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com