The NavigateEx function extends the Navigate functionality in two ways. Firstly, it allows initial values for variables in the source document to be passed in. Secondly, it allows the style and position of the target window to be controlled.