B
boswald
I have a routine (CreateTextFile) that accepts a type variable, an
saves the selected cells as a csv or tab file, giving a message box a
the end "file xxx saved".
I have attached it to a toolbar button, with the assigned macro a
'CreateTextFile("tab")".
When I click the button, the macro runs twice - it displays the msgbo
twice.
So it inserted a breakpoint, and the code doesn't stop, it just run
twice anyway.
I found an entry in this forum - "Breakpoint will not stop Exce
function" posted "03-08-2004, 03:50 PM", but the question of why th
breakpiont gets ignored was not answered.
Does anyone have any ideas why a breakpoint will be ignored?
This routine is definately being run by pressing the button, and if
call it from another short subroutine and pass it "tab" or "csv" i
runs only once, and breakpoints or single stepping work fine.
Thanks,
boswal
saves the selected cells as a csv or tab file, giving a message box a
the end "file xxx saved".
I have attached it to a toolbar button, with the assigned macro a
'CreateTextFile("tab")".
When I click the button, the macro runs twice - it displays the msgbo
twice.
So it inserted a breakpoint, and the code doesn't stop, it just run
twice anyway.
I found an entry in this forum - "Breakpoint will not stop Exce
function" posted "03-08-2004, 03:50 PM", but the question of why th
breakpiont gets ignored was not answered.
Does anyone have any ideas why a breakpoint will be ignored?
This routine is definately being run by pressing the button, and if
call it from another short subroutine and pass it "tab" or "csv" i
runs only once, and breakpoints or single stepping work fine.
Thanks,
boswal