Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2009, 11:17 AM
jdanton jdanton is offline
Novice
Excel won't open maximized from URL
 
Join Date: Mar 2009
Location: Olympia Washington
Posts: 1
jdanton is on a distinguished road
Unhappy Excel won't open maximized from URL


I have a hyper link to an Excel file on my webpage. The problem is when Excel opens neither the app nor the file are opened in a maximized state. Is there a way for me to control the state Excel opens in by passing a parameter of some sort or is there a setting I don't see in Excel to tell the file to always open maximized when opened from a browser? It opens maximized when I just open the file by itself (not from the url).

Last edited by Bird_FAT; 04-22-2009 at 11:56 PM.
Reply With Quote
  #2  
Old 04-12-2009, 09:33 AM
Bird_FAT's Avatar
Bird_FAT Bird_FAT is offline Excel won't open maximized from URL Excel won't open maximized from URL Office 2007
Expert
 
Join Date: Apr 2009
Location: South East
Posts: 271
Bird_FAT is on a distinguished road
Default

Quote:
Originally Posted by jdanton View Post
I have a hyper link to an Excel file on my webpage. The problem is when Excel opens neither the app nor the file are opened in a maximized state. Is there a way for me to control the state Excel opens in by passing a parameter of some sort or is there a setting I don't see in Excel to tell the file to always open maximized when opened from a browser? It opens maximized when I just open the file by itself (not from the url).

try adding

Code:
Option Explicit 
 
Private Sub Workbook_Open() 
    Application.WindowState = xlMaximized 
End Sub
to the 'ThisWorkbook' Microsoft Excel Object in the VBA window (it should be visible in the tree on the left and the icon is the same as an excel document)

Then it will Maximize the Excel app upon opening!


Bird
Reply With Quote
  #3  
Old 09-24-2009, 08:11 AM
silly_2b_me silly_2b_me is offline Excel won't open maximized from URL Windows XP Excel won't open maximized from URL Office 2007
Novice
 
Join Date: Sep 2009
Posts: 1
silly_2b_me is on a distinguished road
Default

Quote:
Originally Posted by Bird_FAT View Post
try adding

Code:
Option Explicit 
 
Private Sub Workbook_Open() 
    Application.WindowState = xlMaximized 
End Sub
to the 'ThisWorkbook' Microsoft Excel Object in the VBA window (it should be visible in the tree on the left and the icon is the same as an excel document)

Then it will Maximize the Excel app upon opening!


Bird
And if this doesn't work? I even added in a second command (after the above one) in the workbook_Open procedure (the one from the Help Creating a VBA Procedure for the open event in a workbook)
The second one runs, but the suggestion above doesn't appear to work when coming from a link from SharePoint?
Any other ideas?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel won't open maximized from URL Opening multiple Excel files within the same Excel window. lost9471 Excel 2 05-01-2010 01:57 PM
Open DOCX in Word 2007 & Open DOC in Word 2003 wilde_37 Office 0 02-03-2009 12:37 AM
"open" or "open using" option not availa ccd Outlook 0 09-22-2006 01:23 AM
Excel document won't open from Outlook shinobi89 Office 0 06-01-2006 02:10 PM
How do I use an Excel form to populate and Excel spreadsheet apostht Excel 0 05-21-2006 11:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft