vba exprot to excel not working as it should (1 Viewer)

shutzy

Registered User.
Local time
Today, 23:22
Joined
Sep 14, 2011
Messages
775
I am trying to create a button for me and other users to export reports to excel. using the ribbon the results are correct. using DoCmd.RunCommand AccmdExportExcel seem to give different results.

as I say using the export to excel gives the correct export but using the vba gives incorrect export results.

I have attached the 2 different versions of the export for you to see.

any advise on how to export this through vba.i really want to remove the ribbon and have functionality that I desire without the ability to be misused.

thank you
 

Attachments

  • rptRecordCardCreation-Correct.xls
    21 KB · Views: 59
  • rptRecordCardCreation-InCorrect.xls
    21 KB · Views: 65

Users who are viewing this thread

Top Bottom