Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Running macros one line at a time

Discussion in 'Information Technology' started by wnfisba, Jul 28, 2006.

  1. wnfisba

    wnfisba
    Expand Collapse
    Guest

    Is there any way we can run a macro one line at a time??? We have a macro
    that is accessing SQL Server Tables and we are running into some performance
    issues. Is there any way we can run this macro one line at a time to see
    where the problem might be???

    Thanks in advance.

    wnfisba
     
  2. Loading...


  3. Larry Daugherty

    Larry Daugherty
    Expand Collapse
    Guest

    No, you can't. The very fact that you can't is why people are
    encouraged to drop Access macros and write equivalent VBA code (that
    VBA code is what's called a macro in all other MS Office
    applications).

    With code you can do lots of intelligent error handling and you can
    use the debugger to step through code a line at a time.

    HTH
    --
    -Larry-
    --

    "wnfisba" <wnfisba@discussions.microsoft.com> wrote in message
    news:1CF0B854-F087-478E-A756-0A1EF1215F91@microsoft.com...
    > Is there any way we can run a macro one line at a time??? We have a

    macro
    > that is accessing SQL Server Tables and we are running into some

    performance
    > issues. Is there any way we can run this macro one line at a time to

    see
    > where the problem might be???
    >
    > Thanks in advance.
    >
    > wnfisba
     

Share This Page