Skip, I understand perfectly what you were saying but it wasn't what I WAS looking for. Perhaps you didn't understand me.
For those who want to know how to do this. I ended up using VBA to put a Subtotal formula into the inserted cell and calculating the area that needed to be subtotaled...
When you say no VBA, do you mean that I should use the subtotal function on my spreadsheet directly rather than applying the format through Access. I am trying to do all formatting with Access at time of transfer.
I have tried experimenting with this
WorksheetFunction.subtotal(9...
For each spreadsheet transferred the code:
1. Evaluates the values in the A column and inserts a row when a new set of values begins
A B becomes A B
Test1 10 Test1 10
Test1 20 Test1 20
Test1 30...
The first spreadsheet has the previous cells summed. The subsequent spreadsheets have a 0 in the cell where the sum should be although it is formatted correctly with color and bold.
I have a series of queries that I transfer to a workbook and then format using VBA. My problem is the section of code below that only works correctly on the first spreadsheet.
Dim xlApp As Excel.Application
Dim objExcel As Object
Dim xlBook As Excel.Workbook
Dim xlSheet As Excel.Worksheet
Set...
I have a dataset that I import and then need to concatenate. The dataset comes in the form of two record sets that then need to be parsed into one record. There is no connecting id, the only thing that I can do is grab them in two record groups and then concatenate that into one. I have...
Thanks for responding so quickly.
I guess my question is more on how to get the calculated date.
If I use the startdate as my base date:
Dateadd(TimeUnit, startdate, TimeNum) then the date won't progress past the first order. How do I continue the process?
I am having trouble getting started on this project and would appreciate some direction. I have a table for Standing Orders where the user enters a client and the timeframe for which their orders should be generated. For example, they want their order bimonthly, the user would select...
I need an original copy of this code again and cannot find mine. Is there any other place that it might be posted. This link no longer has it.
Thanks,
Gillian
I have a report that prints for a location and has a subreport that prints the people associated with that location in columns. I have written code into the subreport that changes the fontsize depending on the recordcount in the subreport. I would also like to change the number of columns and...
I used the On activate event because it was looking for a count that occurred after the report was open. I tried the On open even and it said that there was no data.
I have a subreport that has an On Activate event that changes the fontsize depending on the number of records. It works great when I run the subreport but does not work when I run the report.
Private Sub Report_Activate()
Select Case Me.Countrec
Case Is > 4
Me.txtdocname.FontSize = 5
Case...
There are three places that I have found to change this setting. First: in the individual query properties, there is property called ODBC timeout. Second and third: In Regedit, do a search for ConnectionTimeout and QueryTimeOut. Right click and modify. You can change the base to Decimal...
The only problem with the isnull function is that there are many more choices besides the "High" and "SMH". I tried IIF(IsNull([PRSCHED]="HIGH"), "SMH", "HIGH") but it didn't work.
Here is my code.
SELECT DISTINCT [PERSON-AR].PTFNAME, [PERSON-AR].PTLNAME, [ITEM-AR].ITTSTCODE...
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.