Re: Can I dynamically set the location of a userform?



Hi =?Utf-8?B?am9lcDM=?=,

I would like to do this via a formfield or bookmark location. If not can I
just use a API to get the mouse pointer location? Designing a listbox without
a userform would accomplish this, but I would rather use one userform /
listbox and locate it over the formfield(s) where the results would be stored.

You need to address this question to a forum that deals in
developer/programming/Vba. This newsgroup is end-user specific and you're less
likely to encounter people here who do what you're asking.

To get you started: look at the Information property of the Selection object. It
has parameters that return the location horizontalls and vertically. Also take a
look at the GetPoint property.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: Drop down list with 100 items + using AutoComplete
    ... Please reply to the newsgroup unless you wish to avail yourself of my ... Doug Robbins - Word MVP ... ' Load the ListBox with the retrieved records ... Consider building the userform to accommodate all the ...
    (microsoft.public.word.vba.general)
  • RE: Multi Select List Box - Checkbox
    ... When I type the names, etc. as you suggest, no MultiSelect option is available. ... after opening up the userform click on the Listbox to see its properties. ... It should be when you type the name of the Userform in the VBA code and then ...
    (microsoft.public.excel.programming)
  • RE: Multi Select List Box - Checkbox
    ... I think you are looking at the Userform property and not the Listbox ... It should be when you type the name of the Userform in the VBA code and then ... in a worksheet you need to get into Design Mode and right click the Listbox ...
    (microsoft.public.excel.programming)
  • RE: Multi Select List Box - Checkbox
    ... FirstRow = RowCount ... after opening up the userform click on the Listbox to see its properties. ... It should be when you type the name of the Userform in the VBA code and then ...
    (microsoft.public.excel.programming)
  • RE: Multi Select List Box - Checkbox
    ... Also check on VBA Menu Tools - References. ... Textbox a Listbox and really get confused. ... It should be when you type the name of the Userform in the VBA code and then ... in a worksheet you need to get into Design Mode and right click the Listbox ...
    (microsoft.public.excel.programming)