G
Guest
Hi,
I'm using PowerPoint 2003 and Excel 2003. Each month a diagram needs to be
copied into the presentation replacing the last version. Manually I can
delete the old version, this leaves the placeholder on the screen (but in a
random position with a random size). Then copy the required cells from Excel
and finally pastespecial into the placeholder. Then it needs to be resized.
There are many such replacements so I want to automate the process. The idea
is to select the item to be replaced, copy the new one into the clipboard
then have the macro do the rest. The VBA macro will get the top, left, width
and height from the currently selected item, delete it then pastespecial the
item from the clipboard and finally resize it to the same as the original
deleted item. This doesn't work as for some reason all dimensions are able to
be resized except the height, it won't budge. I've tried a variety of things
and they all have similar side effects. I can do everything I want just not
all at the same time! Any guidance would be appreciated.
thanks, Orangeutan
I'm using PowerPoint 2003 and Excel 2003. Each month a diagram needs to be
copied into the presentation replacing the last version. Manually I can
delete the old version, this leaves the placeholder on the screen (but in a
random position with a random size). Then copy the required cells from Excel
and finally pastespecial into the placeholder. Then it needs to be resized.
There are many such replacements so I want to automate the process. The idea
is to select the item to be replaced, copy the new one into the clipboard
then have the macro do the rest. The VBA macro will get the top, left, width
and height from the currently selected item, delete it then pastespecial the
item from the clipboard and finally resize it to the same as the original
deleted item. This doesn't work as for some reason all dimensions are able to
be resized except the height, it won't budge. I've tried a variety of things
and they all have similar side effects. I can do everything I want just not
all at the same time! Any guidance would be appreciated.
thanks, Orangeutan