Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2015, 02:19 PM
Charles Kenyon Charles Kenyon is online now Word 2010 New maros - debugging needed Windows 8 Word 2010 New maros - debugging needed Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,531
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Newmacros indicates recorded macros.

They should be stored in your normal template and available in all documents.



What, seems to be the problem?
Reply With Quote
  #2  
Old 06-04-2015, 12:40 AM
MacroMess MacroMess is offline Word 2010 New maros - debugging needed Windows 8 Word 2010 New maros - debugging needed Office 2010 32bit
Novice
Word 2010 New maros - debugging needed
 
Join Date: May 2015
Posts: 3
MacroMess is on a distinguished road
Default

Hi Charles

Thanks for your interest: I get an error message - see attachment. A person competent in VBA needs to sort these marcos out - there's only about 3-4.

Thanks

Peter
Attached Files
File Type: docx ErrorMessage01.docx (168.7 KB, 10 views)
Reply With Quote
  #3  
Old 06-04-2015, 05:51 AM
gmayor's Avatar
gmayor gmayor is offline Word 2010 New maros - debugging needed Windows 7 64bit Word 2010 New maros - debugging needed Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

There were no macros in the document and the macro in the illustration is in error because the highlighted line that names the macro 'Sub HideTextDoubleBrackets' is a duplicate of the previous line. No doubt there are two 'End Sub' lines also.

Add Option Explicit (if not already present) to the top of the module and click Debug > Compile Normal.

See http://www.gmayor.com/installing_macro.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2010 New maros - debugging needed Help needed on Word ini files wordini Word 6 02-23-2014 09:22 PM
URGENT HELP NEEDED: Strange boxes over header area in Word 2010 zee_shah Word 1 10-31-2013 09:41 AM
Word 2010 New maros - debugging needed What is this box? Word expert needed! dkester Word 1 10-04-2013 02:42 PM
Boston Word Expert Needed pmarc Word VBA 0 04-03-2013 05:36 PM
Help needed with printing in Word sophieb Word 0 11-16-2010 12:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:19 AM.


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