Hi,
On the mousemove event I want to display certain details for a point plotted in a chart. The details are shown in a userform which pops-up when I move my mouse over that point. When I use the:
ActiveChart.GetChartElement x, y, IDNum, a, b
I get the x and y co-ordinates of the point, but this is with respect to the chart and not the whole application. When I use these points for the userform's starting position by using the following code:
UserForm.StartUpPosition = 0
UserForm.left = x
UserForm.top = y
Then the userform does not open at the exact point where my pointer is. For this I tried to adjust the position by using some adjustments. Further, when the resolution changes, all this goes for a toss. Any help would be appreciated.
- Mangesh
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks