I use a form to select the perameters for data to be exported a to an excel sheet. Is it possible to export the dates selected on the form text boxs to a worksheet as well.
Hi
I have found this code which calculates a cell value but the code is restricted to Range("B1:B3"), my problem is that the column range can change depending on data exported to excel, can anyone advise on how to overcome this!
Dim rng As Range
Dim Lraw As Long
'Calculate moving average
Set...
Hi
I need to be able to select the last cell in a column of data and use the value in a vba function, can any help with this! The column of data will change as I run a report.
Thanks.
I have a report with sub reports attached, when the data chabges in volume the subs move up and down the page, is it possible to stop this and make the subs static on the page.
Hi
I am using a input box but when you select cancel during the input process it errors and debug appears. There is code to deal with errors but for some reason it does not work! Has anyone any ideas!
Hi
Can anyone see what I have done incorrctly as this does not work!
Thanks in advance.....
=DCount("[call type]","qryISAHistoryCount","[Label] = 'Call'" And "[User] = 'Craig'")
Hi
Can anyone advise me on code which would create a link to a access table using ODBC. I need this as the database is on a network.
Thanks in advance....
Hi
I am using this code to append data to a table, the code appends once ok then if you try again there is a error saying it cannot append any records. Can anyone help!
Dim db As DAO.Database
Dim SQL As String
Dim strActivityType As String
Dim strNow As String
Dim strProdCode As String
Set...
I am using Input Message Box to obtain filter data. Is it possible to catch when someone uses the cancel button on the input box. If cancel is used I would like to responed with code a message box for example!
Hi
I am using the code below to check if a Excel workbook is open or not. The problem is that it does not close the workbook correctly, can anyone advise me why yhis is happening!
Function ExcelDocTest()
Dim xlApp As Excel.Application
Dim Wbk As Excel.Workbook
Dim BolYN As Boolean
Set xlApp...