Full disclosure I posted this code on another forum, but it was for a different questions that was resolved.
I have a piece of MS Access code that opens an excel instance. Once open Access appends new records to a table. Think most recent monthly detail. This works great. My problem is that after the data is appended, I want to sort the table in descending order. Below is my code.
I should mention the one line of code works as expected if I just paste it into the regular excel file, (not the instance opened by MS Access)
When I run it as pasted above I get a compiler error saying "Sub or Function not defined" With the word "Range highlighted.![]()
Please Login or Register to view this content.
I'm sure I am making this harder than it needs to be. Any help or guideline at this point would be greatly appreciated.
Bookmarks