VBA table TotalsRowRange cells

DEksel

Board Regular
Joined
Oct 5, 2019
Messages
52
I just want to get value from one cell in TotalsRowRange. If I write
Code:
myTable.TotalsRowRange(9).Select
everything works fine. But how I can select that cell in TotalsRowRange by using headers row name? I can select column like next
Code:
myTable.ListColumns("Stake").DataBodyRange.Select
Next does not work
Code:
myTable.TotalsRowRange("Stake").Select

Thanks in advance.
 
Sure sure sure... Person asking about his case but answers had to be on all life cases... in general and according to full standards. Remember that tough guy who helped me with my corrupted file? But he didn't want to share what exactly he did :)
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,972
Messages
6,128,008
Members
449,414
Latest member
sameri

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