Split the screen into 2 halves. The left half should contain the excel window. The right half should contain a browser window of your choosing
- stdVBA
- stdICallable
- stdWindow
- stdLambda
- Currently only works on Windows OS
Ensure a browser window is open when running this code.
Sub Main()
Call SideBySide(Edge)
End Subflowchart TD
B[Choose Browser Type]
B --> E[Resize Current App to Left Half]
E --> F[Find & Resize Browser to Right Half using stdWindow and stdLambda]
F --> G[Activate Browser]
flowchart LR
subgraph BaseLibraries[stdVBA]
SL[stdLambda]
SW[stdWindow]
end
subgraph SideBySideRoutine[SideBySide Routine]
SB[SideBySide]
end
%% Dependencies
SL --> SB
SW --> SB
With stdVBA we've trimmed our solution down to 162 lines to about 62. stdVBA helps you cut down on boiler plate and helps you focus on the important questions like "How do I move my window" rather than "How do I get the caption text of a window?".
