Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to use VBA and Cells.Find to search a Pivot Table; if found,
expand the details of that row. As the fields are all collapsed, it finds items in the first column (A) only. If I manually expand all fields it will find my search string. Any suggestions? Code: Private Sub BtnFind_Click() Dim partNumer As String partNumber = TextPart.Value Range("A1").Select Cells.Find(What:=partNumber, After:=ActiveCell, LookIn:=xlFormulas, LookAt _ :=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _ False, SearchFormat:=False).Activate Selection.ShowDetail = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Cells.find to find first number in a row which is 8000 | Excel Discussion (Misc queries) | |||
PivotTables | Excel Discussion (Misc queries) | |||
PivotTables | Excel Discussion (Misc queries) | |||
New to Pivottables- need help | Charts and Charting in Excel | |||
PivotTables/VBA | Excel Programming |