+ Reply to Thread
Results 1 to 5 of 5

Lost Formatting

  1. #1
    Registered User
    Join Date
    03-31-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Lost Formatting

    I hope i'm able to appropriately explain my problem.

    I am creating a simple 'Holiday Request' form. I have managed to insert a drop down calendar, and am happy with the results.

    However, each time i close the document, and return to it the next day, i find that the formatting for the calendar combo box changes. If i'm to use this form for easy employee use, it must hold it's formatting.

    Anyone able to help? (This is one of 2 or 3 issues i'm trying to iron out, before i can roll out the new electronic form. I really appreciate any assistance!)
    Last edited by Bardess; 04-06-2009 at 09:03 AM.

  2. #2
    Forum Contributor mubashir aziz's Avatar
    Join Date
    03-18-2009
    Location
    Lahore, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    533

    Re: Lost Formatting

    can you attach the file ???

  3. #3
    Registered User
    Join Date
    03-31-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Lost Formatting

    Sure, i'll attach a dummy file to show you what's happening.

    Simple combo date boxes, formatted to fit the cell. When file is closed, and repoened, combo boxes lose their formatting.
    Attached Files Attached Files

  4. #4
    Forum Contributor mubashir aziz's Avatar
    Join Date
    03-18-2009
    Location
    Lahore, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    533

    Re: Lost Formatting

    I have just added this VBA code in your workbook_open code and now its working




    Private Sub Workbook_Open()

    Application.ScreenUpdating = False

    ActiveWindow.ScrollRow = 2
    ActiveWindow.ScrollRow = 1

    Application.ScreenUpdating = true

    End Sub
    Attached Files Attached Files
    Last edited by mubashir aziz; 04-02-2009 at 05:35 AM. Reason: Update the code

  5. #5
    Registered User
    Join Date
    03-31-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Lost Formatting

    That did it! Thanks SO much for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1