All the code in Access is written including a Form where you can select a date range and have it run a query along with a few other unrelated things. The code in Excel is also already written where it creates a couple of pivot tables and a few charts. All I am looking for is a way to connect the...
To be clear. I'm not trying to get Access to do everything without Excel. I'm trying to get Access to open Excel and paste the table and then tell Excel to do its thing.
Hello,
We have a database that runs a query. The displayed table from that query is then copied and pasted into an excel file and an excel macro is run that creates charts making the information more useful.
My question is can we do this (Run Query/Open Excel/Paste query results/Run Excel...
I'm using this to export data from a table to a cvs file:
Private Sub SaveAndClose_Click()
Dim PartNumber3 As String
PartNumber3 = Me.[Order Name]
DoCmd.TransferText acExportDelim, , "Rough Order", "C:\Cardinal Order\Rough Orders" + PartNumber3 + ".csv", True
The data in the table has 3...
Yes, MajP, I am still interested. It looks like my column headers were missing from my post showing the output. The first column is quantity, the next is length of starting peice, then leftover, and finally the individual cuts.
The date is formatted in the Format line in the design view of the table. I have chosen "Short Date" but the time is still being displayed "0:00:00".
So this is not working at all. And if it was working I'm guessing that June 2nd would show up like this:
"6/2/2018"
rather than the required...
What I am doing is importing data that other software creates and manipulating it in access code making a table “Rough Order” with about 20 fields to be exported at a later date in a comma delimited format for easy viewing later because it has been manipulated and it may or may not be finished...
Thanks CJ_London,
That worked as well as changing it to a text. However I'm still getting this:
,”5/17/2018”,
But wanting this:
,”05/17/2018”,
The company that I'm sending it to said that the leading 0 is important.
Thanks guys however still not working. I'm still getting the time 0:00:00 with the date.
I am getting closer though.
The date comes from a Form where it looks fine.
Then in the code I assign the fields after changing them to strings like so:
Dim POD As String
Dim SD As String...
Actually I caught the missing "y" but I was entering "mm/dd/yyyy" in the format line in the properties of the query.
I won't have access to Access until tomorrow. Can I use that in the Visual Basic code that loads that data into the field?
And it does look right in the table that has been...