Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do I need a FULL pathname

Status
Not open for further replies.

ChrisTheAncient

Technical User
Dec 22, 2002
169
GB
I want to export some data from an Access (both 97 and XP) db to an Excel spreadshhet.

The routine I've been given is...

DoCmd.TransferSpreadshee acExport,acSpreadsheetTypeExcel19, _
"qryWhatever", "C:\ with a highly detailed full pathname.xls"

As the set database and spreadsheet might be in different places on different machines (but supposedly in the same folder), can I abbreviate the path name?

Chris

*************************************
OK, I'm stoopid. But I'm good at it!
*************************************
 
mkov

Thanks. I was scared that was the case.

Oh well, time to think laterally!

Chris

*************************************
OK, I'm stoopid. But I'm good at it!
*************************************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top