+ Reply to Thread
Results 1 to 5 of 5

Messagebox To Contain Cell Contents Of An Array

  1. #1
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Messagebox To Contain Cell Contents Of An Array

    Hello
    I want to show the contents of an array that gets populated if there any errors produced during the process of running 7 modules daisy chained together. I've got it working as I would like. I did originally try to get it to work by referring to the array by it's name (The commented out line). It doesn't matter how I try, I can't get it to work. Yet if I refer to it by it's address, it works. Wsht7 is activated at the time this is called & I found the code below whilst Googling.
    Any Ideas please

    Please Login or Register  to view this content.
    Last edited by Philb1; 05-29-2013 at 07:29 PM. Reason: Problem Solved

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Messagebox To Contain Cell Contents Of An Array

    You need to explain what ErrorCol is. But the syntax is more likely to be

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Messagebox To Contain Cell Contents Of An Array

    Hi Andy
    I've had a play & got it to work 3 different ways. None by referring to the range name. I've knocked up an example of what is in my macro & attached it for you have a play. I'll have another look tomorrow as it's bed time here
    Thanks for looking
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Messagebox To Contain Cell Contents Of An Array

    Problem with title being used to define buttons due to missing comma

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Messagebox To Contain Cell Contents Of An Array

    Thanks Andy.. I'd been through it more than once & every time it complained an object was missing. I thought I'd tried everything, I didn't.
    Thanks for your help
    Phil

+ Reply to Thread

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