Results 1 to 4 of 4

Thread: Spreadsheet control resizer

Threaded View

  1. #3
    Frenzied Member
    Join Date
    May 2004
    Location
    Carlisle, PA
    Posts
    1,045

    Re: Spreadsheet control resizer

    I hope somebody (smart?) jumps on this ... maybe DKenny or Robdog ...

    This may be where you do it ... it is one of the Workbook events in the "ThisWorkbook" module ... but I'm not sure how to intercept and block the event.
    Code:
    Private Sub Workbook_WindowResize(ByVal Wn As Window)
        'SOMETHING GOES HERE TO EAT THE EVENT!
    End Sub
    EDITED: Hmmmm ... I spoke too soon. This has 2 problems ...

    1) It only affects the SHEET window inside the Excel Window. It has nothing to do with the Excel window.

    2) This event is fired AFTER the sheet is resized! To use it you would have to save the size of the window when it is opened, then after it is resized, restore it back to the saved value. Yuk!

    I hope somebody is good with API calls! (hint ... hint) Search this Forum for "API" ... I think there are some good threads on APIs and some links to good sites as well.
    Last edited by Webtest; Nov 15th, 2005 at 05:22 PM.
    Blessings in abundance,
    All the Best,
    & ENJOY!

    Art . . . . Carlisle, PA . . USA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width