A family of Microsoft word processing software products for creating web, email, and print documents.
Another piece of crap code from AnnaThomas, who apparently doesn't test anything before posting.
You can't set the position or text wrapping of inline shapes. They act as characters in a text string, so you can't set their position on a page. Since they are treated as text, you can't make text wrap around them.
The error in your code is from having a Sub statement without an End Sub after it. Delete the first 5 lines of your listing.