Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 07-02-2019, 01:24 PM
priyadharshane priyadharshane is offline Word run code error "6003" Windows 10 Word run code error "6003" Office 2016
Novice
Word run code error "6003"
 
Join Date: Jun 2019
Posts: 6
priyadharshane is on a distinguished road
Default Word run code error "6003"

I tried to find using wild card

1 73181500 PK_2314H032

.Text = "([0-9]{1,})[!^13]@[0-9]{8} ([A-Z]{2}_[A-Z0-9]@>)



I keep getting error "the find what text contains a pattern match expression which is too complex" I'm not what i'm missing to find it. It works fine when I double checked with simple find and replace

Also, is there a way to delete line breaks if paragraph moved to next line for specific paragraph. I don't want to do it for all lines

Eg. 173 73079290 ADAPTER AS.-ELBOW 90 DEG (NON ELECTRICAL) (50 NOS)
| 1068715

158 84829900 CUP-TAPPERED(69320-BEARING CUP) (1152 NOS) | 12389
08

155 84829900 CUP-TAPPERED(69320-BEARING CUP) (866 NOS) | 123890
8

I want to be like below for excel run further without any error

173 73079290 ADAPTER AS.-ELBOW 90 DEG (NON ELECTRICAL) (50 NOS) | 1068715

158 84829900 CUP-TAPPERED(69320-BEARING CUP) (1152 NOS) | 1238908

155 84829900 CUP-TAPPERED(69320-BEARING CUP) (866 NOS) | 1238908



I posted word query into excel forum as a mistake

How to delete line breaks in word using macro
  #2  
Old 07-02-2019, 05:35 PM
macropod's Avatar
macropod macropod is offline Word run code error "6003" Windows 7 64bit Word run code error "6003" Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

This is essentially a resumption of: https://www.msofficeforums.com/word-...wildcards.html
Thread closed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Word found unreadable content..." + "Word experienced an error trying to open..." onas Word 1 09-02-2019 10:52 AM
Error: "Changes made were lost...reconnect with server", when switching "from" field randhurrle Outlook 2 02-25-2015 06:51 PM
"Internet Connection Needed ... Error Code: 0-9" When Trying to use Online Repair millardjd Office 0 01-22-2015 07:54 AM
Word run code error "6003" How to get "Track Changes" to ignore "Field Code Changed"? Joey Cheung Word 2 10-31-2014 07:55 PM
Word run code error "6003" code "0020" appearing instead of space chracter in word docm, file radleyyeldar Word 1 07-30-2012 05:13 AM

Other Forums: Access Forums

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