newcat

  1. S

    Visual Basic Code Stopped Working

    I have this code below to where I select a name in cell I4, and then click run in cell f4, and this filters to that name in each pivot table on the page. This always worked before but all of a sudden stopped working? Also, is there a way I can write this to where if you just select another...
  2. C

    Method Intersect of Object _Global Failed

    I don't have a lot of experience with VBA and there's one error that keeps bugging me. The following code does exactly what I want, with the exception that I get the "Method Intersect of Object _Global Failed" error every time I update cell B3. What am I doing wrong? I thought I was being...
  3. C

    Find range of blank rows and hide them, within a worksheet change event

    Hello, I am giving up and posting as I cannot get the second part of this code to work within a Worksheet change, but it works when placed in a separate macro that I manually call. I need this whole code to run during a cell change. The Pivot Table piece works, everything after with...
  4. J

    VBA for Updating Pivot Table Filters

    Hello, I am creating a report with 4 criteria that the end user will be able to update via a data validation list on the primary tab. So far, I am only able to update the "VP" filter from the pivot table, but I'm trying to figure out how the other 3 cells can be used to update the other...
  5. H

    VBA to Refresh Pivots

    Hi, I have the following code that takes values selected via a list on a worksheet named "Trended P&L" that takes the value that's placed in cell D3 and uses that value to refresh a pivot table located on a worksheet named "Travel". Private Sub Worksheet_Change(ByVal Target As Range) Dim...
  6. S

    Help with Macro to change pivot table based on item selected in drop down list

    Trying to run the below macro to change a pivot table based on a cell and this keeps erroring out? Field.CurrentPage = NewCat Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'This line stops the worksheet updating on every change, it only updates when cells are touched If...
  7. D

    Paste new strings not found in current range to bottom of current range

    I'm very new to vba so bare with me :). I have column A that has all existing categories, new categories are listed in column C. I'm trying to determine how to take these new categories, and add them to column "a" if they aren't already in column A. In the example the new categories in column C...
  8. H

    VBA Help

    Hi, I need some help with the following VBA. I'm using this to update pivot filters based on cell values located in H6:H7. As the values in this range are updated it automatically updates the filters on the pivot. However, the auto update doesn't work if H6:H7 are formulas themselves. If the...
  9. W

    VBA to Edit Multiple PivotTables Fields at Once on same worksheet

    Hello all! I am new to VBA I am trying to update multiple pivot tables on sheet "data", based on drop down list on sheet "Flash" to update graphs on sheet "Flash" as well. I found the code to update a single pivot table but editing it to do several gives me an error at pt.RefreshTable. Thanks...
  10. N

    Setting a Date in VBA?

    I need some Newbie help. I have a code I put together from other post to filter a pivot table based of a cell's data. Now it works fine if I am filtering my "department" filter but I need to filer based off a date. I can't get this to work and it keeps showing an error on Field.CurrentPage = New...
  11. S

    Pivot multiple filter VBA code

    Hi All, new here to the forum and was looking for abit of help i am fairly new to VBA and was wondering if someone could help with the solution to the following query: I have the below code to filter a pivot table using a specific cell reference in this case cell B3 in the worksheet "Front...
  12. H

    Can't get simple pivot table macro to work?

    I'm trying to update the month of a pivot table based on what is in cell H6. The data source has a month column where the data is stored as text like so: May-2017. This is what I'm trying to work from: Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'This line stops the...

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