R
ryguy7272
I have a Pivot Table in Excel and I want to import the data into Access. I
run this code:
'etc...
DoCmd.RunSQL ("DELETE * FROM [Bookings - Pipe by Advertiser];")
DoCmd.TransferSpreadsheet acImport, 8, "Bookings - Pipe by Advertiser",
"C:\Documents and Settings\rs\Desktop\Forecasting\Up To Access\RVP
Revenue-Pipe.xls", True, "Pivot Sheet!A5:N2000"
'etc...
The names comes in fine, but the numbers sometimes appear random. Sometimes
the numbers are accurate and sometimes they are not (like off by 10k, and
other random amounts). The table is set up as data type Text and Number.
Does number have to be some other data type? What could cause this?
Please help.
Thanks,
Ryan---
run this code:
'etc...
DoCmd.RunSQL ("DELETE * FROM [Bookings - Pipe by Advertiser];")
DoCmd.TransferSpreadsheet acImport, 8, "Bookings - Pipe by Advertiser",
"C:\Documents and Settings\rs\Desktop\Forecasting\Up To Access\RVP
Revenue-Pipe.xls", True, "Pivot Sheet!A5:N2000"
'etc...
The names comes in fine, but the numbers sometimes appear random. Sometimes
the numbers are accurate and sometimes they are not (like off by 10k, and
other random amounts). The table is set up as data type Text and Number.
Does number have to be some other data type? What could cause this?
Please help.
Thanks,
Ryan---