So, I discovered that if I open excel manually from the start menu and minimalize it then returning to the access window and click the command button I do not get the error.
But, strangely, when i do get the error (so without the excel "trick") and click "end" on the error message, then open excel like discribed above and again click the button I do get the error.
So once I get the error access seems...
User Profile
Collapse
-
problem with CopyFromRecordset Access>Excel
Apologies in advance for this newbie question!
I have an Access form with an unbound embedded Excel chart on it(Called, OLEUnbound39) (Done on Access form by Insert > Object > Microsoft excel chart)
I would like to place some records in to the underliing sheet and display the chart of this data using VBA.
I use CopyFromRecords et. The code runs and the records are copied to the sheet, but apparently after this...
No activity results to display
Show More
Leave a comment: