Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() whoops, forgot to paste the code in: try this: Code: -------------------- Sub FindSumIf() Cells.Find(What:="sumif", After:=ActiveCell, LookIn:=xlFormulas, LookAt _ :=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _ False).Activate MsgBox ActiveCell.Value End Sub -------------------- -- bhofsetz ------------------------------------------------------------------------ bhofsetz's Profile: http://www.excelforum.com/member.php...o&userid=18807 View this thread: http://www.excelforum.com/showthread...hreadid=381401 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry everyone - reading my original post I realize I was quite vague! I
would like to find all cells that have a sumif in them, and then range-value the cells. So essentially, remove the formula and hardcode the result in the cell. As if I were to select a cell, copy and paste special values. Thanks!! "bhofsetz" wrote in message ... whoops, forgot to paste the code in: try this: Code: -------------------- Sub FindSumIf() Cells.Find(What:="sumif", After:=ActiveCell, LookIn:=xlFormulas, LookAt _ :=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _ False).Activate MsgBox ActiveCell.Value End Sub -------------------- -- bhofsetz ------------------------------------------------------------------------ bhofsetz's Profile: http://www.excelforum.com/member.php...o&userid=18807 View this thread: http://www.excelforum.com/showthread...hreadid=381401 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Simply replace the MsgBox rngCurrent.Value from the code that Jim Thomlinson supplied with rngCurrent.Copy rngCurrent.PasteSpecial Paste:=xlValues Application.CutCopyMode = False and you've got i -- bhofset ----------------------------------------------------------------------- bhofsetz's Profile: http://www.excelforum.com/member.php...fo&userid=1880 View this thread: http://www.excelforum.com/showthread.php?threadid=38140 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
adding values if the same - SUMIF in range of cells? | Excel Worksheet Functions | |||
Sumif w/Text conversion on a range of cells | Excel Worksheet Functions | |||
SUMIF of specified cells in a range | Excel Discussion (Misc queries) | |||
SumIf and a Range of Cells | Excel Discussion (Misc queries) | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |