indeed the problem was from the document/me. as i said i have little knowledge with VBA. there were some spaces after the end of each text. but now i get an error regarding the number of characters in the string/name of the document. i checked and there is no text with Heading1 (basically the question by which the document is named) with more than 254 characters and it keeps telling me that the string has more than 255 characters. is there any way of selecting only the first 255 chars as i have questions with more than 255???
|