Importing Field Labels

P

Penn

Hi,

I would also like to import my field labels with my Excel spreadsheet. How
do I go about this?

Thanks,
SH
 
C

Clifford Bass via AccessMonster.com

Hi,

Specify True for the HasFieldNames parameter:

DoCmd.TransferSpreadsheet acImport, _
acSpreadsheetTypeExcel9, "tblDestination", _
"TheSpreadsheet.xls", True

If that does not help, please be more specific about what you are doing
and why it is not importing the labels. Also indicate what version of Access.


Clifford Bass
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top