ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   CurDir (https://www.excelbanter.com/excel-programming/357722-curdir.html)

Bryan Brassell

CurDir
 
Need proper syntax for using CurDir to open a file "test.xls" in the current
directly.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141

Bob Phillips[_6_]

CurDir
 
Help has the syntax, but use ChDrive as well.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in message
...
Need proper syntax for using CurDir to open a file "test.xls" in the

current
directly.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141




Bryan Brassell

CurDir
 
I was looking for the syntax for putting it into a "windows.open filename="
string with the filename.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141


"Bob Phillips" wrote:

Help has the syntax, but use ChDrive as well.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in message
...
Need proper syntax for using CurDir to open a file "test.xls" in the

current
directly.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141





Ron de Bruin

CurDir
 
Hi Bryan

Try this

Workbooks.Open CurDir & "/ron.xls"


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Bryan Brassell" wrote in message
...
I was looking for the syntax for putting it into a "windows.open filename="
string with the filename.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141


"Bob Phillips" wrote:

Help has the syntax, but use ChDrive as well.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in message
...
Need proper syntax for using CurDir to open a file "test.xls" in the

current
directly.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141







Bob Phillips[_6_]

CurDir
 
Use the file dialog

With Application.FileDialog(msoFileDialogFolderPicker)
.Show
MsgBox .SelectedItems(1)


End With


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in message
...
I was looking for the syntax for putting it into a "windows.open

filename="
string with the filename.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141


"Bob Phillips" wrote:

Help has the syntax, but use ChDrive as well.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in

message
...
Need proper syntax for using CurDir to open a file "test.xls" in the

current
directly.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141







Bob Phillips[_6_]

CurDir
 
oops wrong question.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bob Phillips" wrote in message
...
Use the file dialog

With Application.FileDialog(msoFileDialogFolderPicker)
.Show
MsgBox .SelectedItems(1)


End With


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in

message
...
I was looking for the syntax for putting it into a "windows.open

filename="
string with the filename.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141


"Bob Phillips" wrote:

Help has the syntax, but use ChDrive as well.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bryan Brassell" wrote in

message
...
Need proper syntax for using CurDir to open a file "test.xls" in the
current
directly.
--
Regards,

Bryan Brassell
Padgett Business Services
281-897-9141









All times are GMT +1. The time now is 01:59 AM.

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