Chuckles12
New Member
Hi all,
First time poster, am super excited to have found my way to this site!
I have a question regarding a report I am trying to make more automated. I have a pivot table in excel 2007 which I update regularly with new data. I have a template in powerpoint which I want to link from excel to powerpoint.
I know how to do some basic getpivotdata to populate parts of the template on another sheet, which I have linked into powerpoint, but then I start to run into some issues.
The issue I am having is trying to figure out a code which will adjust object sizes in excel (arrows to be precise, in regards to their width) based on the values they are pointing to. Basically, this template is reporting profits for different categories per individual clients, so an example would be if this sector was producing negative profits or zero, the arrow size width pointing to it would be much larger. If it was producing 100k in profits, it would be more narrow, etc.
There are also a lot of clients, so I am trying to figure out then how to have a 2nd macro copy the image after a new set of client details has been inserted and copy it to a new slide in the same powerpoint show.. Looping through say 80 different clients / creating 80 new slides automatically.
So it's basically 2 things I am trying to accomplish here, and I have no idea if using VBA can help with the object resizing based on certain cell parameters is possible? I am sure there is a way to loop through all the clients and paste each template into a new slide in the same show.
I hope this is clear enough, any and all advice would be greatly appreciated!!
Regards,
First time poster, am super excited to have found my way to this site!
I have a question regarding a report I am trying to make more automated. I have a pivot table in excel 2007 which I update regularly with new data. I have a template in powerpoint which I want to link from excel to powerpoint.
I know how to do some basic getpivotdata to populate parts of the template on another sheet, which I have linked into powerpoint, but then I start to run into some issues.
The issue I am having is trying to figure out a code which will adjust object sizes in excel (arrows to be precise, in regards to their width) based on the values they are pointing to. Basically, this template is reporting profits for different categories per individual clients, so an example would be if this sector was producing negative profits or zero, the arrow size width pointing to it would be much larger. If it was producing 100k in profits, it would be more narrow, etc.
There are also a lot of clients, so I am trying to figure out then how to have a 2nd macro copy the image after a new set of client details has been inserted and copy it to a new slide in the same powerpoint show.. Looping through say 80 different clients / creating 80 new slides automatically.
So it's basically 2 things I am trying to accomplish here, and I have no idea if using VBA can help with the object resizing based on certain cell parameters is possible? I am sure there is a way to loop through all the clients and paste each template into a new slide in the same show.
I hope this is clear enough, any and all advice would be greatly appreciated!!
Regards,