.position

  1. J

    trying to create a dynamic pivot table

    Hey guys, Ive basically recorded this macro and want to make it dynamic to sort through lots of data. Basically I want to filter the data on one tab and limit it to one voucher and that voucher should have only one signedamount. Then I want to copy and paste that data onto a new tab that has...
  2. L

    Pivot Table Macro - skipping an argument

    Hey everyone! I recorded a macro to create a pivot table (amongst many many other functions) and everything works except for ONE item in the pivot table. The line of code to include the pivot table "Months" above "Status" is not being read. I've putzed with it, and I cannot seem to figure out...
  3. J

    VBA to find last filled cell and move down, when not all cells are filled

    I’m getting back into VBA after several years away. Refreshing my memory is harder than I thought. I’m creating multiple pivot tables from the same data sheet (“SOW Detail”), and inserting them one after another on “Sheet2”, with 3 empty rows between them. The macro recorder is not capturing...
  4. M

    Macro not working in coworkers computer, but works perfectly fine in min

    Hello, I have a shared macro enable excel workbook where the code runs perfectlyfine in my computer, but when another coworker runs the same macro using the sameworkbook, they get an error message when it comes to creating the pivot table(in red below). Why would it work perfectly fine in my...
  5. M

    Error Code '1004' when attempting to filter pivot table

    Hello, I have a vba code that inserts a pivot table and in a section it willfilter the data by a specific field. My issue now is what if in the data thatspecific field is not available. How can I write in vba code if “Watchlist” isnot an option then leave the pivot table blank? This is the...
  6. C

    Pivot in VBA

    Trying to make the following code work but not able to create the pivot Any ideas? Sub Pivott() Dim PSheet As Worksheet Dim DSheet As Worksheet Dim PCache As PivotCache Dim PTable As PivotTable Dim PRange As Range Dim LastRow As Long Dim LastCol As Long On Error...
  7. I

    Recorded VBA - Inserting a Pivot Table

    Alright so I've written 90% of my program by hand, and I figured one part that would be ideal to simply record once all the manual sorting is out of the way would be the Pivot Table formatting. For some reason, I get the following error from the below code: Runtime Error 5: Invalid Procedure...
  8. D

    VBA - Pivot table - Create multiple data columns in pvt table from single data source column

    Dear all I want to generate multiple columns in Pivot table from single data column with each data type as a column header. I could do pivot table, but not sure how to proceed on this. 'Insert Row Fields With ActiveSheet.PivotTables("PT1").PivotFields("username") .Orientation =...
  9. E

    Pivot Table Macro, please help!

    Hello, I am seeking out the help of someone here. I am utilizing the code attached to create a pivot table. All was working great, but now a week later I cannot get it to work at all. I constantly get Run-time error '1004' I know its because a portion of my code is not being executed and...
  10. E

    VBA Pivot Table Dynamic Range

    Hi Gays i am beginner with VBA Code so please i ask your help to how to make below code of create pivot table with dynamic range: Sub Pivot_Data() ' ' Pivot_Data Macro ' ' Range("A1").Select Selection.CurrentRegion.Select...
  11. B

    Edit VBA to stop deleting rows and columns

    Trying to modify VBA in macro that we use to produce payroll data. The report process generates an Excel file, but it has 2 issues that I need to solve. 1. Stop deleting first 4 rows. 2. Stop deleting any columns. The original report (from Pentaho 3.8) creates extra columns and merged columns...
  12. H

    Pivot table to select activeworkbook

    I have the following code below which works perfectly to update the Pivot tables Sub Update_Pivot() Sheets("Pivot Table").Select ActiveSheet.PivotTables("PivotTable4").ChangePivotCache ActiveWorkbook. _ PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _ "C:\My...
  13. S

    is it Possable to access a hole Pivot table by name for a Pivot Chart?

    Hello once again All, well the Title says it all Here my code: Sheets("Anzahl_Kategorien_je_Kunde").Select Dim PvData As Range Dim PVLastRow As Longt PVLastRow = Range("A" & Rows.Count).End(xlUp).Row PvData = "'Anzahl_Kategorien_je_Kunde'!A1:H" & PVLastRow Cells(1...

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