Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-08-2014, 12:11 PM
whatsup whatsup is offline Remove the * from the SubCate, Custom Sort, Replace..Help Please - I need. Thanks Windows 7 64bit Remove the * from the SubCate, Custom Sort, Replace..Help Please - I need. Thanks Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Hi

If you want to search or replace a sign like * you will have to search for it like that:

Code:
Cells.Find(What:="~*", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
        xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
        , SearchFormat:=False)
Code:
ActiveCell.Replace What:="~*", Replacement:="1", LookAt:=xlPart, _
        SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
        ReplaceFormat:=False
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use find and replace to change text to a custom style wrdy Word 7 03-11-2014 12:09 AM
Custom table of contents referencing a custom field skaboy607 Word 3 01-16-2014 06:59 AM
Remove the * from the SubCate, Custom Sort, Replace..Help Please - I need. Thanks remove color from find/replace? Cobb78 Word 1 05-26-2012 06:16 PM
quick replace, sort, change columns userman Excel 1 05-01-2012 06:24 AM
Remove the * from the SubCate, Custom Sort, Replace..Help Please - I need. Thanks Generic range for custom sort macro? tswiers Excel Programming 2 08-11-2011 02:40 AM

Other Forums: Access Forums

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