Is there a control character of some sort at the end of the Notes Page body
placeholder?
I'm trying to write a macro to remove extraneous paragraph returns (vbCrLf
characters) and I can cycle through a text range and delete all but the last
one. I checked the number of paragraphs in the text range (using count), and
discovered that the total number of paragraphs is one less than it looks
like. So the last empty line in my text box body placeholder) seems to be a
non-printing character other than a paragraph return. but I don't know what
it is. (I tried deleting it manually and then pressing Enter, to ensure that
it is a paragraph return, but got the same result.)
Any ideas?
caten - 30 Jun 2009 19:33 GMT
Oops. I understand now. The last instance is a single vbCrLf, not a double.
That's why my macro doesn't delete it, I added a loop that goes through all
characters in the text range from end to start, deleting until the last
character in the text range is not a vbCrLf. That did it.
> Is there a control character of some sort at the end of the Notes Page body
> placeholder?
[quoted text clipped - 9 lines]
>
> Any ideas?
Steve Rindsberg - 30 Jun 2009 20:01 GMT
> Is there a control character of some sort at the end of the Notes Page body
> placeholder?
[quoted text clipped - 9 lines]
>
> Any ideas?
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/
Steve Rindsberg - 30 Jun 2009 20:01 GMT
> Is there a control character of some sort at the end of the Notes Page body
> placeholder?
[quoted text clipped - 7 lines]
> it is. (I tried deleting it manually and then pressing Enter, to ensure that
> it is a paragraph return, but got the same result.)
It's a good idea to mention the PPT version you're using and to post example
code.
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/