Search results

  1. L

    Loop through all controls in a page switches the control indexes

    Hey all, I'm writing an application that automatically adds code, events and formats the controls on a form. Basically I'm looping through all the controls like this: For Each ctr in frm.Controls Loop I also tried: For i = 0 to frm.Controls.Count -1 Set ctr = frm.controls.item(i) Next The...
  2. L

    Auto code generation

    Hi everyone, I am currently making an Access VBA program to help making VBA programs. For this I want to automatically generate code within a function. It should generate error handling - so I need to figure out whether it is a Sub or Function as the error handling contains an Exit...
  3. L

    Disabling Access warning when sending email

    Hi all, When sending an email using the Outlook.Application or SendObject I first get a message if I'm sure I want to send it. I believe there is a workaround but I can't make much of the information found at the MSN site, can someone provide me with some sample code or instructions on how to...
Back
Top Bottom