cancel
Showing results for 
Search instead for 
Did you mean: 

Pivot table creation

Sudha_RPA
Level 3

Hi All,

I  was trying to create a pivot table using excel vbo but i was getting error can anybody help with what is the input for it

Note : Attached pivot table input and error i got

32067.png32068.png

Regards,

Rajsudhapriya



------------------------------
Sudha Priya
------------------------------
1 BEST ANSWER

Best Answers

Hi Sudha Priya,

Pivot table is expecting  the column names as list

Check below threads

https://www.contextures.com/excelpivottableerrors.html#:~:text=The%20pivot%20table%20error%2C%20%22field,the%20source%20data%20is%20blank.

https://www.wallstreetmojo.com/pivot-table-field-name-is-not-valid/



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]

View answer in original post

3 REPLIES 3

Hi Sudha,

The input field labeled "Workbook" expects a workbook name as its value. I can see that the current value mapped to this field is the file path of the workbook. Please update the value of the "Workbook" parameter to create the pivot table.



------------------------------
Athiban Mahamathi - https://www.linkedin.com/in/athiban-mahamathi-544a008b/
Technical Consultant,
SimplifyNext,
Singapore
------------------------------

Hi Athiban,

I have changed the workbook name but im getting new error

32061.png



------------------------------
Sudha Priya
------------------------------

Hi Sudha Priya,

Pivot table is expecting  the column names as list

Check below threads

https://www.contextures.com/excelpivottableerrors.html#:~:text=The%20pivot%20table%20error%2C%20%22field,the%20source%20data%20is%20blank.

https://www.wallstreetmojo.com/pivot-table-field-name-is-not-valid/



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]