Results 1 to 8 of 8

Message box to display range of cells. Solved, thanks

Threaded View

  1. #1
    Registered User
    Join Date
    12-03-2009
    Location
    yorkshire, england
    MS-Off Ver
    Excel 2003
    Posts
    15

    Message box to display range of cells. Solved, thanks

    Hi,

    I am using the following code to display a range of cells from a single column (A1:A10) in a message box, with each cell value on a seperate line.

    Sub v128_Click()
    
    MsgBox Join(Application.WorksheetFunction.Transpose(Range("Sheet2!A1:Sheet2!A10").Value), Chr$(10))
    
    End Sub
    My question is; how do I make it work so that it will display the value of cells from a row, ie A1:J1 ?

    Thanks.
    Last edited by henrysmith; 12-03-2009 at 09:11 AM.

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