On Wed, 29 Oct 2008 14:35:53 -0700 (PDT), lukecs <(E-Mail Removed)> wrote:
>heres my sub
>
>Sub testing2()
> With Application
> .DisplayAlerts = True
> .EnableEvents = True
> .ScreenUpdating = True
> End With
> Range("F1").Value = 6
> Debug.Print "ran"
>End Sub
>
>It does the first statement but will not execute the second. Nothing
>else is open, nothing else is executed. What could possible be going
>on. Range F1 does get updated to 6 but the debug line or for that
>matter anything after the Range("F1").Value line does not run. Has
>anyone ever had this problem. tried restarting excel but haven't
>tried running it on another machine. Issue only happens on one
>workbook.
It works fine for me, in a regular module.
How do you know that the debug.print line did not run?
--ron
|