Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2018, 02:38 PM
puff puff is offline Error with macro to delete starting #) [code included] Windows 7 64bit Error with macro to delete starting #) [code included] Office 2013
Advanced Beginner
Error with macro to delete starting #) [code included]
 
Join Date: Apr 2017
Posts: 60
puff is on a distinguished road
Question Error with macro to delete starting #) [code included]

Hi all! I wrote a macro to delete starting numbers with a ")" in every paragraph. However, it shows an error when I run it. Could somebody help me on this? I also developed other macros to delete other things by the replace function and they all work fine with that line shown in the picture. I don't get it.
2018-04-18_143224.png
Reply With Quote
  #2  
Old 04-18-2018, 03:49 PM
Guessed's Avatar
Guessed Guessed is offline Error with macro to delete starting #) [code included] Windows 10 Error with macro to delete starting #) [code included] Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It should be a backslash not a forward slash
^13[0-9{1,}\)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
macro error



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with macro to delete starting #) [code included] VBA to insert an image and centralize it (code included) puff Word VBA 5 01-17-2018 04:32 PM
Error with macro to delete starting #) [code included] Issue of 2 fixed bullet points indent setting work together (code included) puff Word VBA 5 12-17-2017 05:52 PM
Delete account and starting again? ethelthefrog Outlook 0 02-16-2015 01:23 PM
Error with macro to delete starting #) [code included] Delete starting number *) and delete Unneeded data in series frustrated teacher Word VBA 5 12-07-2014 06:53 PM
Error Starting MS Help Renee Hendershott Office 0 01-22-2006 03:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:37 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