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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transferspreadsheet

Status
Not open for further replies.

rjumelet

Programmer
Jul 5, 2002
5
NL
In this command you can specify the worksheet and range of a excel file, has anyone a example of this ?

Thanks in advance,

Rob
 
DoCmd.TransferSpreadsheet , acSpreadsheetTypeExcel97, "TableName", "C:\Test.xls"
 
Try this,

wrksheet.Cells(r,c)

r = rows
c = columns

For c = 1 To 9
wrksheet.Cells(1, c).Font.Bold = True
Next

I used this to format 9columns of the first row in my worksheet to be the header of my transfer to a spreadsheet from access.


Hope it helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top