+ Reply to Thread
Results 1 to 4 of 4

Pop Up Window When Opening Workbook

  1. #1
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Minnesota
    MS-Off Ver
    Office 365
    Posts
    163

    Pop Up Window When Opening Workbook

    I’m using the below VBA code I picked up from a different thread in order to have a pop up message every time I open a particular workbook.


    Please Login or Register  to view this content.
    My problem is that I can’t figure out how to make separate paragraphs, instead of one big paragraph. My end goal is to be able to have a nicely formatted list with space between each line. Something akin to…

    1) Point number 1

    2) Point number 2

    3) Point number 3

    4) Etc…

    Would someone please tell me how to achieve this?

    Thanks for your assistance!
    Last edited by OpieWinston; 02-22-2017 at 02:06 PM.

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Pop Up Window When Opening Workbook

    Please Login or Register  to view this content.
    That separates with a blank line between each. Only use 1 vbCrLf if the lines are to be together.

    You will also have to split long lines otherwise the MsgBox just gets wider and wider
    Please Login or Register  to view this content.
    That is about the limit of the formatting you can apply to a MsgBox but I can guess the next question. The answer is 'No'.
    Last edited by cytop; 02-22-2017 at 10:27 AM.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Pop Up Window When Opening Workbook

    See if this does what you want. Then view the code in Thisworkbook.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Minnesota
    MS-Off Ver
    Office 365
    Posts
    163

    Re: Pop Up Window When Opening Workbook

    Thank you very much!

+ 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. VBA Database opening new window and workbook
    By robtuby in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-21-2016, 05:16 AM
  2. Replies: 0
    Last Post: 05-02-2016, 08:39 AM
  3. [SOLVED] Opening workbook in new window
    By chin67326 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2015, 03:56 AM
  4. Replies: 2
    Last Post: 05-31-2014, 02:05 AM
  5. New window/same window when opening spreadsheets
    By DebSki in forum Excel General
    Replies: 5
    Last Post: 04-22-2013, 01:28 AM
  6. Can't open my workbook with the vba code window opening
    By rjrbsn in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-01-2012, 03:36 PM
  7. Opening an IE window from another IE window
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-26-2006, 12:35 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