padlocked17
Registered User.
- Local time
- Yesterday, 18:44
- Joined
- Aug 29, 2007
- Messages
- 276
All,
I have been racking my brain over what I am sure is a stupid mistake. All I want to do is anchor a rectangle on my report to the right instead of the default left. The ultimate goal is a very simple, horizontal "waterfall" chart.
I've tried the following and I get "You've entered an expression that has an invalid reference to the property HorizontalAnchor".
I've also tried declaring a rectangle and then assigning it to a rectangle on the report, but I get a "Object Variable or With Block Not Set".
The reference for the property is http://msdn.microsoft.com/en-us/library/bb241881(v=office.12).aspx
Could someone please give me a pointer?
Thanks,
I have been racking my brain over what I am sure is a stupid mistake. All I want to do is anchor a rectangle on my report to the right instead of the default left. The ultimate goal is a very simple, horizontal "waterfall" chart.
I've tried the following and I get "You've entered an expression that has an invalid reference to the property HorizontalAnchor".
Code:
Me.rectNegative.HorizontalAnchor = acHorizontalAnchorRight
I've also tried declaring a rectangle and then assigning it to a rectangle on the report, but I get a "Object Variable or With Block Not Set".
Code:
Dim rect As Rectangle
rect = Me.rectNegative
The reference for the property is http://msdn.microsoft.com/en-us/library/bb241881(v=office.12).aspx
Could someone please give me a pointer?
Thanks,