Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Absolute Cursor Position

Status
Not open for further replies.

nelsonaddison

Programmer
Mar 4, 2009
2
US
I'm trying to position a dialog box relative to the cursor position in an active window. I remember I figured it out years ago in WordBasic. Does anyone know how to do this?
 



Hi,

The ActiveCell
Code:
With ActiveCell
   YourObject.top = .top
   YourObject.left = .left
End With


Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hi,

Hi, thanks for the help, but I need more explanation on this. I think maybe I was unclear. I'm working in Word 2007.

I tried the code, ActiveCell doesn't seem to be a Word Object. What am I missing,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top