PioneerSolutions
asked on
VBA/ How to Position Word Document Window and VBE Window Side By Side
In a nutshell: I want to be able to quickly position the word document window (left half of screen) side by side with the VBA code editor (right half of the screen)
I am looking for some VBA code (will probably include api calls) that will position:
1) The window of the word document I am working with (identifying it by application.caption, I suppose) to the top left hand corner of the screen, and resize the window to take up half of the screen horizontally and the full screen vertically.
2) The VBA code editor to take up the right half of the screen.
I am looking for some VBA code (will probably include api calls) that will position:
1) The window of the word document I am working with (identifying it by application.caption, I suppose) to the top left hand corner of the screen, and resize the window to take up half of the screen horizontally and the full screen vertically.
2) The VBA code editor to take up the right half of the screen.
You don't say why you don't simply 'Tile Windows Vertically' with only the two windows open and unminimised.
ASKER
Hi Graham,
I am working with several windows and during debugging sessions I sometimes need to isolate these two windows. Moreover my question is simplified. Long term, I will tweak the exact sizes and positions, as needed.
Regards,
e
I am working with several windows and during debugging sessions I sometimes need to isolate these two windows. Moreover my question is simplified. Long term, I will tweak the exact sizes and positions, as needed.
Regards,
e
OK.
I was asking, because I believe that it requires the use of APIs and quite a lot of research. In fact I think that it is more of a project that a question, so if there were already a workaround...
I was asking, because I believe that it requires the use of APIs and quite a lot of research. In fact I think that it is more of a project that a question, so if there were already a workaround...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.