Search results

  1. SpentGeezer

    Disable Tab pages

    No, OP stated that unchecked would not be enabled
  2. SpentGeezer

    Disable Tab pages

    Try this tastey morsal straight from the Spent Geezers Association...
  3. SpentGeezer

    Disable Tab pages

    Put a textbox and checkbox on the form that is bound to the name of indicator and checkbox of the table (make them visible = false if you want). Then "On Current" do something like: if checkbox.value = -1 then if textbox.value = tabname1 then tabname1.enabled = false elseif textbox.value...
  4. SpentGeezer

    Define Excel Range from VBA in Access

    Greeting. I had a bit of a plpay around with it. This should get you started. Save the excel file to c:\ SPENT
  5. SpentGeezer

    DoCmd.FindRecord finding some records, but not others?

    Try using this: lvr = getanotherTS.column(<insert correct column number here>) put msgbox lvr in your code to make sure that lvr is in fact what it should be. (Or use stop line in code and locals window).
  6. SpentGeezer

    Worksheet Change Events

    Should this be posted on a Microsoft Excel forum? Try the attached...your description didn't make much sense to me.. COuld be my Noobism..
  7. SpentGeezer

    Flow Control

    When you press the submit buttin, it is doing a docmd.close event and closing the form? Change it so it closes after the person is selected. See here for some ideas: PS, I could be way off the mark, not really that sure what you were trying to do.
  8. SpentGeezer

    Audit Log

    <comboboxname>.column(1)..See attachment for quick demo:
  9. SpentGeezer

    Help with loop (I think)

    mmmmmm CANDY!!!.....
  10. SpentGeezer

    Allow only 'quarters' after the decimal point

    This should get you started::D
  11. SpentGeezer

    Updating Excel Worksheet from Access

    Try replacing this: Set myExcel = New Excel.Application myExcel.Visible = True Set wbk = myExcel.Workbooks.Open(CurrentProject.Path & "\GamesNamesRatings.xlsx") Set wks = wbk.Worksheets(1) ' wks.Visible = True with something like this: Set myExcel = CreateObject("Excel.Application")...
  12. SpentGeezer

    acSelection

    Does anyone have an Access OMD? WOuld be very much appreciated..
  13. SpentGeezer

    acSelection

    Getting through it now. So far I have this: Set frm = Forms.frm_MM_Quantities.qry_Quantities.Form theTITLE = frm.ChartSpace.ChartSpaceTitle.Caption xAXIS = frm.ChartSpace.Charts(0).Axes(0).Title.Caption yAXIS = frm.ChartSpace.Charts(0).Axes(1).Title.Caption Now for the tricky stuff...
  14. SpentGeezer

    acSelection

    No Spent, that would be silly. You could have the user pivot the chart in the subform then click the print or save button which assigns all the chart properties to variables and passes them to the Pivot Chart report for printout.
  15. SpentGeezer

    acSelection

    How do I pass the main form criteria? Basically I think I am going to have to create a seperate form with all the options that are available on the pivotchart (e.g Textbox to put axis title, checkboxes for which fields etc..) Then the user can click a button to update the subform PivotChart from...
  16. SpentGeezer

    acSelection

    Basically I want to select it with VBA code then use this to print it (the subform PivotChart) DoCmd.PrintOut acSelection, 1, 1, acHigh, 1 The PivotChart is embeded as a subform in the form. User clicks print button then something like this: acselection = me.frm_subFormPivot DoCmd.PrintOut...
  17. SpentGeezer

    acSelection

    Does anyone know the VBA to make a subform the "acSelection"
  18. SpentGeezer

    DoCmd.printout

    This works well, however I have a pivot chart in the form as a subform. Any changes made to a pivot chart in the form are not relayed to the pivot chart in the report. This makes the pivot chart useless... Any other ideas? I don't want to have to write a heap of VBA to update the Pivot chart...
  19. SpentGeezer

    run time error 2465

    This will get you started (from the Spent Geezers Association)..
  20. SpentGeezer

    Convert Measurement in Access VBA and update the same Access table

    Private Sub convertKWh2MWh() Dim pID As double 'or long or whatever is needed.... dim rst as recordset set rst = currentdb.openrecordset("tbl_Name") rst.movefirst do until rst.EOF pID = rst!1 pID = pID/1000 rst!1 = pID pID = rst!2 pID = pID/1000 rst!2 = pID pID = rst!3 pID = pID/1000 rst!3...
Back
Top Bottom