Recent content by mrgunner

  1. M

    How to "press" cmd_btn at different form

    I use this code to "press" another command button that is on the same form, Private Sub Btn_B_Click() cmd_Btn_A_Click End Sub but how do I "press" a command button from another form?
  2. M

    Transfer data problem

    Thanks highandwild, I did it with a couple of querys and got it to work. I´m sure I didn´t do it the way you thought of but you made me think how I could get it to work anyway ;)
  3. M

    Transfer data problem

    I have this code to transfer data from a table to a existing spreadsheet and it works fine. My question is: Is there a way to do the code more flexible so I could choose if I want to change row to transfer to? For example, I would like it to transfer first to B6 to T6 and then change to B26 to...
  4. M

    Add more controls than 755

    I guess I should try this question in th "modules & VBA" section.
  5. M

    Add more controls than 755

    So, I found this code and it works good, not great ;) Is there a way to do the code a little flexible so I could change row when I would like it to? Right now all goes in one row. Dim lngColumn As Long Dim xlx As Object, xlw As Object, xls As Object, xlc As Object Dim dbs As...
  6. M

    Add more controls than 755

    The form is bound and sure I can post a screenshot but have to wait until I´m at work.
  7. M

    Add more controls than 755

    I thought about that but I´m not sure how to export from a form in access to a specific cell in excel.
  8. M

    Add more controls than 755

    Well, it was a nightmare :) and really irretating when I noticed it didn´t work the way I wanted. I don´t know how I could do it with less controls? I´ve got a form for each person with all dates where I have comboboxes to choose N (night) or D (Day) and on the report a textbox for all dates...
  9. M

    Add more controls than 755

    Thanks for your answers. It´s for a schedule on work with 10 people for three month and I want it to look like a spreadsheet and it does, it´s just missing 30 labels that doesn´t fit because the limit of 755. Thats why it´s so many controls :) It´s only the report who needs all the controls...
  10. M

    Add more controls than 755

    Hi! I think i´ve read that maximum controls in a report is 755 and I got this message when I try to add more controls: "Microsoft Office Access can´t create any more controls on this form or report" I guess there is 755 controls on my report right now but is there a way to go around this...
  11. M

    Copy text from form to report

    Never mind, got it to work :) Thanks boblarson, you made my day.
  12. M

    Copy text from form to report

    Thank you very much for your extremly quick answer :) What expression should I use, can´t get it to work.
  13. M

    Copy text from form to report

    Hi! I use this code on a command button to copy a text from textbox 1 in form A, to textbox 2 in form B and this works great. Private Sub CmdA_Click() DoCmd.OpenForm "FormA", acNormal DoCmd.GoToRecord , , acNewRec Forms!FormA.Text1.Value = Forms!FormB.Text2.Value End Suband I use this code on a...
  14. M

    Open different forms when in runtime

    I will try your getuser() solution and see if I could get it to work. Why is the other more difficult to maintain?
  15. M

    Open different forms when in runtime

    Thanks to both of you, but I suck at vba but are trying to learn and read what you linked. Thought there was a solution to this out of vba. But I found a different thing that kind of do what I want.
Back
Top Bottom