Hope you are doing good..!
I suggest you a simple solution to get vertical borders in pivot table.
In Pivot chart properties, under Style tab , change the current style to Basic.
If you do so, perfect cell borders will come across the table.
After that if you want to do any formatting changes like Background color , you can do that using custom format cell option.
Hope it resolves your query.