If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Need VBA Help with AddTextbox
On Mar 8, 8:37 pm, wrote:
On Mar 8, 8:00 pm, Steve Rindsberg wrote: [snippidydoodahsnippidiyey] [more snippage] Getting much closer to the root cause, I think, Steve. Here's what we found out this AM: when the problem occurs, the text box I've added has "inherited" ruler first and left margins that appear to come in from left field. (Actually, they happen to be the level 3 ruler settings that are in the slide master. ???) I notice that if I insert a text box from the PowerPoint menus, then the ruler margins are automatically set at the slide master level 1 values. Now, here's where it gets gummier: On a "good" file, if I insert a textbox from the PPT menu, the first and left margins are set to 0 and 0. If I insert a textbox with my code, they also default to 0,0. I think the nut of this is: on a "bad" file, what's causing it to default the ruler first and left margins to values other than 0, 0? Any of this ring any bells? |
#12
|
|||
|
|||
Need VBA Help with AddTextbox
In article om, wrote:
On Mar 8, 8:37 pm, wrote: On Mar 8, 8:00 pm, Steve Rindsberg wrote: [snippidydoodahsnippidiyey] [more snippage] Getting much closer to the root cause, I think, Steve. Here's what we found out this AM: when the problem occurs, the text box I've added has "inherited" ruler first and left margins that appear to come in from left field. (Actually, they happen to be the level 3 ruler settings that are in the slide master. ???) I notice that if I insert a text box from the PowerPoint menus, then the ruler margins are automatically set at the slide master level 1 values. Now, here's where it gets gummier: On a "good" file, if I insert a textbox from the PPT menu, the first and left margins are set to 0 and 0. If I insert a textbox with my code, they also default to 0,0. I think the nut of this is: on a "bad" file, what's causing it to default the ruler first and left margins to values other than 0, 0? Any of this ring any bells? Sometimes files/objects in files can get corrupted; not enough to crash PPT but enough to induce oddities like this. Sometimes copying the affected shape to the clipboard then pasting it back fixes it. In other cases you may have to delete and recreate the slide. Roundtripping to HTML is another way to attempt repairs. HTML "Round-tripping" to repair corruption http://www.pptfaq.com/FAQ00526.htm ----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ |
|
Thread Tools | |
Display Modes | |
|
|