Hyperlink word document to be "Pop-up window"

dsrt16

Board Regular
Joined
Jun 18, 2005
Messages
208
I have a hyperlink to a word document, but I really don't want to open up word, as much as I just want that link to bring up a window with the TEXT found in the word document. In essence, I want a pop-up window, so you can still see excel in the background.

I tried placing the following code in the word document, but it just opened it normally without the size changes:

Code:
Private Sub Document_Open()
     
    With Application
        .Width = 150
        .Height = 500
    End With
     
End Sub
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try adding

Code:
Private Sub Document_Open()
 
    Application.WindowState = wdWindowStateNormal
 
    With Application
        .Width = 150
        .Height = 500
    End With
 
End Sub
 
Upvote 0
I actually originally had that, and nothing happened. It just opened the full word document even with that added line.

Any other ideas?
 
Upvote 0
Seems to work in Excel97/Word97

How about


Code:
Private Sub Document_Open() 
With Application
    .WindowState = wdWindowStateNormal
    .Resize Width:=InchesToPoints(4.2), Height:=InchesToPoints(4.2)
End With
 
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top