Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Stuck in a Sub Loop

Hello People. Sorry to bother you. I'm stuck in a Sub macro, can't
close the workbook, can't select or change anything at all in the VBA
window. Tried to close workbook, clicking X and Alt+F4, tried to
close VBA window, nothing. I've searched this site and can only find
one suggestion: Esc. But that doesn't work either on the workbook
itself or the VBA window.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Stuck in a Sub Loop

On Jul 19, 11:19*pm, "Don Guillett" wrote:
It might help for you to post your code.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"robzrob" wrote in message

...



Hello People. *Sorry to bother you. *I'm stuck in a Sub macro, can't
close the workbook, can't select or change anything at all in the VBA
window. *Tried to close workbook, clicking X and Alt+F4, tried to
close VBA window, nothing. *I've searched this site and can only find
one suggestion: Esc. *But that doesn't work either on the workbook
itself or the VBA window.- Hide quoted text -


- Show quoted text -


The VBA window won't let me copy it, but I think this is the
significant line (I didn't put it in and I don't know how it got
there):

Application.Run "LeaveRecord.xls!Demo"

LeaveRecord is the workbook, Demo is the macro, ie I've somehow got a
'Run Demo' statement within the macro 'Demo' itself.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Stuck in a Sub Loop

CTRL + Break


Gord Dibben MS Excel MVP

On Sat, 19 Jul 2008 15:04:41 -0700 (PDT), robzrob wrote:

Hello People. Sorry to bother you. I'm stuck in a Sub macro, can't
close the workbook, can't select or change anything at all in the VBA
window. Tried to close workbook, clicking X and Alt+F4, tried to
close VBA window, nothing. I've searched this site and can only find
one suggestion: Esc. But that doesn't work either on the workbook
itself or the VBA window.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Stuck in a Sub Loop

On Jul 19, 11:31*pm, Gord Dibben <gorddibbATshawDOTca wrote:
CTRL + Break

Gord Dibben *MS Excel MVP



On Sat, 19 Jul 2008 15:04:41 -0700 (PDT), robzrob wrote:
Hello People. *Sorry to bother you. *I'm stuck in a Sub macro, can't
close the workbook, can't select or change anything at all in the VBA
window. *Tried to close workbook, clicking X and Alt+F4, tried to
close VBA window, nothing. *I've searched this site and can only find
one suggestion: Esc. *But that doesn't work either on the workbook
itself or the VBA window.- Hide quoted text -


- Show quoted text -


Thanks, Gord.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
This ones got me stuck DB Excel Worksheet Functions 4 April 4th 07 09:25 PM
Excel with game is stuck in a loop [email protected] Excel Discussion (Misc queries) 2 December 19th 06 08:11 PM
HELP!! It's STuck ConfusedNHouston Excel Discussion (Misc queries) 1 June 16th 06 10:16 PM
Stuck in a loop CWillis Excel Discussion (Misc queries) 2 June 5th 06 02:49 PM
I'm still stuck JLyons Excel Worksheet Functions 0 February 25th 05 08:43 PM


All times are GMT +1. The time now is 11:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"