How can I drilldown/showdetails with Cells rahter than Range

gilsa

New Member
Joined
Sep 16, 2014
Messages
21
Hi All,
I have the Cells(Row, Column) value, which I need to use to show the details of this cell value in a specific pivot table.

As far as I could see the most common usage is Range and then selection.showdetails = true.

I tried using the blow unsuccessfully:
Cells(FindRow.Row, FindColumn.Column).Select
Selection.ShowDetails = True

Can anyone suggest how to do it with Cells()?

Your support is highly appreciated!

Gil.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi Gil,

You have a syntax error or typo in your example... you are using the plural .ShowDetails, the Method is .ShowDetail.

The method will work similarly whether you use .Range() or .Cells(). In both cases the expression evaluates to a Range Object (there is no Cell Object or Cells Object- .Cells is a Property).

So both these statements should result in the same action....
Code:
 ActiveSheet.Range("B3").ShowDetail = True

 ActiveSheet.Cells(3, 2).ShowDetail = True


If you already have the Range Object assigned to the FindRow variable, then this simpler expression may be used.
Code:
 FindRow.ShowDetail = True
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,901
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top