Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2012, 07:15 AM
AbeLincolnVampSlayer AbeLincolnVampSlayer is offline Find replace issues!! Help!! Windows 7 64bit Find replace issues!! Help!! Office 2010 64bit
Novice
Find replace issues!! Help!!
 
Join Date: Jun 2012
Posts: 3
AbeLincolnVampSlayer is on a distinguished road
Smile Worked!! Thank you

Wow I have a feeling I am behind the times on doing stuff the easy way in excell. I do not know a lot about macros, is there any book or training you could recomend that would get me up to speed?



Thanks a lot!!

Quote:
Originally Posted by macropod View Post
Try the following macro:
Code:
Sub UpdateRefs()
Dim StrFnd As String, StrRep As String
StrFnd = InputBox("Please input the string to FIND for the replacement.", "Find/Replace")
If StrFnd = "" Then Exit Sub
StrRep = InputBox("Please input the string with which to REPLACE the Find String.", "Find/Replace")
With Application
  .DisplayAlerts = False
  .ScreenUpdating = False
  .Calculation = xlManual
  .ActiveSheet.Cells.Replace What:=StrFnd, Replacement:=StrRep, LookAt:=xlPart, _
    SearchOrder:=xlByColumns, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
  .Calculation = xlAutomatic
  .DisplayAlerts = True
  .ScreenUpdating = True
End With
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Find/Replace or VBA davidku Word 4 04-27-2012 04:39 PM
Find replace issues!! Help!! 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 replace issues!! Help!! Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
Find replace issues!! Help!! Find and Replace kjxavier Word 9 08-11-2011 04:47 AM
Find replace issues!! Help!! Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:19 PM.


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