Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 03-28-2013, 11:50 AM
dmarie123 dmarie123 is offline Find and Replace using Excel range Windows 7 64bit Find and Replace using Excel range Office 2007
Novice
Find and Replace using Excel range
 
Join Date: Dec 2012
Location: New Yuk
Posts: 23
dmarie123 is on a distinguished road
Default

Hi Paul,

Sorry I was away for so long, I was working on another project and also started school recently.

When I run the code above I get a "subscript out of range" error for the same line of code as before:

Code:
StrTxt = Format(Trim(Split(.Text, "-")(0)), "MMMM D, YYYY")
I'm at a loss, I've been working on it all day. Even my older version of this monster is now giving the error and before it worked fine. Any ideas?

-Donna

Is it possible that changing a reference in Access would affect MS Word?? I added a ref to Microsoft ActiveX Data Objects 2.5 Library for a module. Could that be the problem?
Reply With Quote
 

Tags
excel 2007, find and replace, vba in microsoft word



Similar Threads
Thread Thread Starter Forum Replies Last Post
Paste special an Excel range into Outlook as an Excel Worksheet charlesh3 Excel Programming 3 02-04-2013 04:33 PM
Find and Replace using Excel range Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Find and Replace using Excel range Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
Find and Replace using Excel range Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM
Find and Replace within range anil3b2 Word VBA 3 12-01-2010 02:35 AM

Other Forums: Access Forums

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