+ Reply to Thread
Results 1 to 5 of 5

Startup Application

Hybrid View

aman1234 Startup Application 02-24-2009, 10:34 AM
Cheeky Charlie Re: Startup Application 02-24-2009, 10:37 AM
aman1234 Re: Startup Application 02-24-2009, 10:59 AM
aman1234 Re: Startup Application 02-25-2009, 07:26 AM
Cheeky Charlie Re: Startup Application 02-25-2009, 07:37 AM
  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    883

    Startup Application

    Hi All

    I have developed an application in excel/vba which consists of many forms.I have setup the startup form too. when I run the application,on the background ,excel sheet with data appears. I want to run the application with no background data. The background should be plain..

    Could you please help me to solve my problem
    Regards
    Aman

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Startup Application

    Simple way:
    In the workbook_open event, hide all the relevant sheets and show the startup

    Complex way:
    In the workbook_beforesave event hide all the relevant sheets and show the startup, then if the workbook is not being closed show everything as it was before.

    CC

  3. #3
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    883

    Re: Startup Application

    can't figure it out yet
    Last edited by aman1234; 02-25-2009 at 07:32 AM. Reason: problem with code

  4. #4
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    883

    Re: Startup Application

    Hi Charlie

    I got some problem when i hide all the relevant sheets in the workbook_open even and showed the startup sheet.
    The problem is when I hide all the sheets and run the project then the forms that refer to those sheets display an error message e.g if I have hidden sheet3 and I run the project then the eror message comes up is "Printout method of worksheet class failed"

    Could you please help me to resolve this problem

    Regards
    Aman
    Quote Originally Posted by Cheeky Charlie View Post
    Simple way:
    In the workbook_open event, hide all the relevant sheets and show the startup

    Complex way:
    In the workbook_beforesave event hide all the relevant sheets and show the startup, then if the workbook is not being closed show everything as it was before.

    CC

  5. #5
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Startup Application

    Post the macro which generates the error and identify which line is highlighted when you debug.

+ 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