mikecox39
Active Member
- Joined
- Mar 5, 2014
- Messages
- 251
- Office Version
- 365
- Platform
- Windows
I am testing; in the Immediate pane of the VBE, some of the example code in a book I am studying; in order to learn VBA.
Here are a couple that fail every time.
[/URL][/IMG]
I checked the Help option for error 9 but I didn’t understand it.
I’ve double checked the code; to make sure I entered it exactly as it is in the text, but it fails every time.
[/URL][/IMG]
This one has a "for" so why am I getting this error? Again, I double checked the example in the text and I have it written exactly as shown in the text.
Others, like “…comments.count” and “…Parent.address” work just fine.
Here are a couple that fail every time.
I checked the Help option for error 9 but I didn’t understand it.
I’ve double checked the code; to make sure I entered it exactly as it is in the text, but it fails every time.
This one has a "for" so why am I getting this error? Again, I double checked the example in the text and I have it written exactly as shown in the text.
Others, like “…comments.count” and “…Parent.address” work just fine.