Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2010, 12:04 PM
castman castman is offline VB opens when I close Word Windows 7 VB opens when I close Word Office 2007
Novice
VB opens when I close Word
 
Join Date: Dec 2010
Posts: 12
castman is on a distinguished road
Default VB opens when I close Word

Firstly I know nothing about Macros or visual basic, although I do have a couple of macros which someone created for me.

I clicked on View\Macros and record a macro in error (long story) I immediately stopped the recording and cancelled out of the program. Now when I open Word (and with any of my templates), when I go to close Word I get Microsoft Visual Basic program appear with a dialogue box that reads: 'Compile Error Exprected End Sub' and options OK or Help. Behind this pop-up is the editor with macro code in it.
When I click Ok and close the editor another box pops up which reads:


'This command will stop the debugger' with the options OK, Cancel & Help.

I don't know what I've done or how I get rid of this - please help
Reply With Quote
  #2  
Old 12-13-2010, 04:20 PM
wordnoob2 wordnoob2 is offline VB opens when I close Word Windows XP VB opens when I close Word Office 2003
Novice
 
Join Date: Dec 2010
Posts: 2
wordnoob2 is on a distinguished road
Default

By no means am I an expert, but you might want to open the program you created the macro in and delete it.
Excel/tools/macros then pick the one you might have created in error, and delete
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OFFICE(Word,Excel..)-crash/close when DIALOG BOX launched of insert image,open file buggingme Office 1 05-30-2010 12:18 AM
VB opens when I close Word word only opens in safe mode vanderloo Word 1 12-13-2009 12:28 PM
VB opens when I close Word Can you and how, cause a http redirection when a user opens a word document avaintcon Word 1 09-02-2009 05:02 PM
Word has encountered a problem and needs to close ?? Dave Word 0 02-15-2009 06:30 PM
Word 2003 Doc Opens With Weird Symbols In 2007 Please Help! speeddevil45678 Word 6 11-30-2008 12:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft