+ Reply to Thread
Results 1 to 7 of 7

Changing the Text in Excel's Program Title Bar

  1. #1
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Changing the Text in Excel's Program Title Bar

    I'm running the following code which both creates new worksheets and deletes a number of rows based on a range of different criteria. Initially when running the code Excel goes to sleep showing (Not Responding) in the Program Title Bar and then the whole screen goes white (so it looks like Excel has crashed) which is not very encouraging for the end user.

    I've added a Do Events line to the code (I'm unsure if it is sitting in the correct place), which at least stops the whole screen going white and allows the menu's and main Excel screen to remain visible and I've also added a message in the status bar, however this doesn't prevent Excel's Program Title Bar from displaying (Not Responding).

    Is there a way to change the Title Bars text to say 'Processing...' or similar?

    Also have I placed the 'Do Events' line in the correct place, is it doing what it should be doing?

    Please Login or Register  to view this content.
    Many thanks
    Thanks,
    HangMan

    You can say "Thank you!" by clicking Add Reputation below the post.
    Please, mark your thread [SOLVED] if you are happy with the solution.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: Changing the Text in Excel's Program Title Bar

    Examples courtesy of Ozgrid:

    Please Login or Register  to view this content.
    You could also put something in the Status Bar.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Changing the Text in Excel's Program Title Bar

    Hi TMS,

    I've already have something in the status bar, though to be honest, you kind of have to know it's there if that makes sense, I doubt most end users even notice it. I'll give this a go and let you know how I get on...

    What is the difference betweem the 'Application.Caption' and the 'ActiveWorkbook.Windows(1).Caption'?

    Many thanks

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: Changing the Text in Excel's Program Title Bar

    Well, it's not something I use, but the clue is in the object names ... Application and ActiveWorkbook.


    Regards, TMS

  5. #5
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Changing the Text in Excel's Program Title Bar

    Um, okay so far adding...

    Please Login or Register  to view this content.
    Isn't preventing the Program Title Bar from displaying (Not Responding), does this need to be used in conjunction with anything. I'm using it like this:

    Please Login or Register  to view this content.
    The Status Bar text shows quite happily but not the Windows Caption. Am I missing something?

    Many thanks

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: Changing the Text in Excel's Program Title Bar

    Nothing is going to stop the title bar from displaying Not Responding. It usually means that you have a big and/or sluggish workbook with a lot of formulae or Conditional Formatting ... and it's just busy calculating when you're trying to interrupt it.

  7. #7
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Changing the Text in Excel's Program Title Bar

    Well, yes, there are several thousand formula in the workbook, though it's not particularly sluggish...

    I'd wrongly assumed that there was a way to prevent the (Not Responding) status appearing... It seems a bit of an oversight as it doesn't really send out a great message to the end user. Are there any simple methods to show the end user that the file is still processing and hasn't simply hung that wouldn't add to the processing time of the macro.

    The macro has a lot of data to process and can take a long time to run so the user isn't really given any clues to show the file is still running, the hourglass doesn't really mean a lot. I guess because there is nothing physically moving, like a progress bar it is hard for the user to tell and whilst it is running it would be pain if the user simply thinks it has crashed and hits esc to stop it mid way through...

    If I were to use something like this to give a visual clue...

    Please Login or Register  to view this content.
    how do I specify the X and Y values in the code?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Changing data on table according to title
    By efemko in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2014, 04:33 PM
  2. [SOLVED] Thread title needs changing or it's unviewable
    By romperstomper in forum Suggestions for Improvement
    Replies: 2
    Last Post: 05-01-2014, 08:31 AM
  3. VBA-How to program sizing and placing Excel window at the start of the program
    By dr.prakash in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2013, 11:45 PM
  4. [SOLVED] Changing Chart Title Cell reference with Excel VBA
    By trizzo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-14-2012, 02:39 PM
  5. Changing title from default
    By toocold in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-15-2006, 09:25 PM
  6. [SOLVED] axis title text box is wrong size in chart for excel 2003
    By hey_scott in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 02-15-2006, 08:30 PM

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