Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
表を Access から Excel にエクスポートすると、すべての数値がテキストとして表示され、セルに緑色の矢印が表示されます。このエラーを自動的に修正する方法、またはエラーを回避する別のエクスポート方法はありますか?
参考までに、これは私がエクスポートする方法です:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, pages(i), outputFileName, True
VBAを使って、セル範囲を「一般」に整形して……
range("XYZ").NumberFormat = "一般"