This is what I use and it always works. The key thing is setting up your ODBC/DSN connection string on the server, then using the ASP to call that string.
Dim myConn
Dim strNaDB
Set myFSO=CreateObject("Scripting.FileSystemObject")
Const ForReading = 1, ForWriting = 2, ForAppending =...
The portion of code below uses data in Access to automatically build and format a chart in Excel.
strSourceName = "tblAccessTable"
strFileName = "c:\ExportedChart.xls"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel97, _
strSourceName, strFileName, False
This...
I'm trying to change the colors in an Excel pie chart from an Access form. I can build it OK, but the pie slices have to be a specific color. Here's the code I'm trying and it doesn't work at all. I've also tried the MarkerBackgroundColorIndex, but I think it doesn't work with pie charts.
Any...
I've read what has been archived about this topic and am trying this line of code:
Call Shell("C:\Win32App\MSOffice\Office\EXCEL.EXE" & Chr(34) & "c:\DeleteMe\" & strComboClient & "_Chart.xls")
The "strComboClient" is a variable passed from a combo box...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.