Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello, is there a way to search for the apostrophe (') character with the
Find button? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Am I missing the problem here?
Edit-Find "Find What" - ' If you record it as a macro you get ; Cells.Find(What:="'", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _ xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False) _ .Activate xl2k -- Regards; Rob ------------------------------------------------------------------------ "Daniel" wrote in message ... Hello, is there a way to search for the apostrophe (') character with the Find button? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Using: Edit-Find I am getting "... cannnot find the data..."
Using the macro, I am getting Erorr 91 "Object variable or with block variable not set", I can search for anything else but the apostrophe. Thanks (using Office 2000) Daniel "RWN" a écrit dans le message de ... Am I missing the problem here? Edit-Find "Find What" - ' If you record it as a macro you get ; Cells.Find(What:="'", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _ xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False) _ .Activate xl2k -- Regards; Rob ------------------------------------------------------------------------ "Daniel" wrote in message ... Hello, is there a way to search for the apostrophe (') character with the Find button? Thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you mean used as the first character in a cell, then that is considered a
formatting character and Find won't find it to the best of my knowledge. -- Regards, Tom Ogilvy Daniel wrote in message ... Hello, is there a way to search for the apostrophe (') character with the Find button? Thanks |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Not if the apostrophe is the prefix character. To get around it use VBA:
Sub RemApos() Dim rngArea As Range For Each rngArea In ActiveSheet.Cells. _ SpecialCells(xlCellTypeConstants).Areas rngArea.Value = rngArea.Value Next End Sub "Daniel" wrote in message ... Hello, is there a way to search for the apostrophe (') character with the Find button? Thanks |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This is great. Thanks Tim. Thanks also Tom for the explanation.
Daniel __________________ "Tim Zych" a écrit dans le message de ... Not if the apostrophe is the prefix character. To get around it use VBA: Sub RemApos() Dim rngArea As Range For Each rngArea In ActiveSheet.Cells. _ SpecialCells(xlCellTypeConstants).Areas rngArea.Value = rngArea.Value Next End Sub "Daniel" wrote in message ... Hello, is there a way to search for the apostrophe (') character with the Find button? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find & Replace: find part cell, replace whole cell | Excel Worksheet Functions | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
Copy contents of Find (Find and Replace) | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions |