thanks a lot for the help. I really appreciate it.
the program does work. But as you mentioned, it only looks at the last cell though.
What i would like to have it do, is knowing how many pages to print and then ending in the printpreview mode.
This is something i still can not figure out...
no, i've already noticed that, but that couldn't have been the problem because the line "for i = 1 to .Paragraphs.Count" is marked yellow.
So i figured that VBA can't read it for some unknown reason
Thanks a lot again for your help
Peter
it says "run time error '424'
object required" and offers me to debug
Since i don't know too much about these error messages, i don't know what that means
thanks for the help macropod,
when i tried to run the program it told me that something is wrong and marks the
For i = 1 To .Paragraphs.Count
line
Do you know why that is?
I am trying to figure out how to tell vba to count all the shapes in a document. Afterwards i would like it to select the last (furthest to the right) shape and depending on what page it is, print that many pages.
If anyone could help me here, i would really appreciate it. I know it can't be to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.