+ Reply to Thread
Results 1 to 11 of 11

Select range and put in message box

  1. #1
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Select range and put in message box

    I need to start at cell "T150" and go down column "T" until the first blank cell and select the text and have a pop up message come up with those results. The first blank cell has a formula in it. I dont want that included. Cell T150 has the value Status in it if that helps. Here is what I have but is pulling back all the cells with formulas in it.



    HTML Code: 

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,305

    Re: Select range and put in message box

    Please Login or Register  to view this content.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Select range and put in message box

    Don't think using end(xlup) works fine with formulas.
    try
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Select range and put in message box

    Please review:

    Please Login or Register  to view this content.
    Gary's Student

  5. #5
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Select range and put in message box

    The cells with values still have formulas in them. I think this is stoppoing at the first one because there is a formula in it. I am trying to pull back the range until the first blank cell (blank meaning it doesnt show data because the formula: =F153&" "&G153 is pulling pack nothing because there is no data in in F153 & G153. Thanks for your help

  6. #6
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Select range and put in message box

    Thanks. Kaper & Jakobshavn those both pull back a huge message box because they are pull all the blank cells because they have formulas in them

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Select range and put in message box

    =F153&" "&G153
    is not blank cell !!!
    it has one space (" ") inside

    Try:

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Select range and put in message box

    That freezes me up. Im not sure if we are talking about the same thing. Attached is an example
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,305

    Re: Select range and put in message box

    Try it this way:
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Select range and put in message box

    That produces the same result

  11. #11
    Forum Contributor
    Join Date
    08-07-2013
    Location
    mo
    MS-Off Ver
    Excel 2010
    Posts
    453

    Re: Select range and put in message box

    I got it worked out thanks for the help

    Please Login or Register  to view this content.

+ 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. Replies: 1
    Last Post: 02-12-2014, 05:29 AM
  2. Error Message:Select Method of Range class Failed
    By Doruli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2012, 01:26 PM
  3. Select method of Range class failed" error message
    By Session101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2009, 11:50 AM
  4. Why Error Message "End Select without Select Case"?
    By GoFigure in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 08:30 PM
  5. [SOLVED] Select Named Range - Active sheet - Message Box address
    By al007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2005, 03:40 AM

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