Results 1 to 2 of 2

Displaying Data ranges both in rows and columns in the Message box

Threaded View

neomad Displaying Data ranges both... 12-28-2013, 08:52 AM
Fotis1991 Re: Displaying Data ranges... 12-28-2013, 09:17 AM
  1. #1
    Registered User
    Join Date
    12-01-2013
    Location
    Cochin, India
    MS-Off Ver
    Excel 2013
    Posts
    1

    Post Displaying Data ranges both in rows and columns in the Message box

    Hi Everyone,

    Im new to VBA and Macro and need some help to display the content of the sheet as is in the message box.....

    As of now the code only show one column that i could find through the net...

    I need to show all the columns and rows......
    Excel sheet attached....



    Sub Iknowvba()
    msg = "DUE LIST ?"
    ans = MsgBox(msg, vbYesNo)
    If ans = vbYes Then MsgBox "Due List : " & Join(Application.WorksheetFunction.Transpose(Range("E7:E30").Value), Chr$(10))
    If ans = vbNo Then MsgBox " Thanks"

    End Sub
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Help using Names Ranges to sum data in rows across variable numbers of columns
    By azzurri825 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2013, 05:15 AM
  2. [SOLVED] comparing the rows in different columns and displaying the results
    By gencoglu27 in forum Excel General
    Replies: 12
    Last Post: 07-23-2013, 05:31 AM
  3. displaying in a message box whole rows depending on a cell's value
    By ordeayn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2012, 06:40 AM
  4. Pivot Table - Displaying Data Rows into Columns
    By quasimoto in forum Excel General
    Replies: 3
    Last Post: 02-11-2011, 10:03 PM
  5. Displaying a Pie chart with all Columns and Rows
    By dreams in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-27-2009, 05:10 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