rngaddress

  1. A

    How to Reference ONE cell from ALL Pivot Tables in a Workbook - VBA

    Excel friends, The code wks.Range(rngAddress).Activate is not working. It generates a runtime error 91. Can somebody help me. Thanks! Sub PivotTableMacro() Dim wks As Worksheet Dim wb As Workbook Set wb = ActiveWorkbook Dim pt As PivotTable Dim rngAddress As Range For Each wks In wb.Sheets...
  2. B

    sheet name with cell string in vba

    i want to know how to use a string in VBA to find a worksheet based on the contents of a cell i thought this would work but cant seemed to figure out what keeps throwng an error Code: Private Sub CommandButton1_Click() Dim shtName As String Dim rngAddress As String shtName = Range("b5").Value...
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

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
Top