+ Reply to Thread
Results 1 to 3 of 3

Select entire column for max function

  1. #1
    Registered User
    Join Date
    01-10-2011
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    32

    Select entire column for max function

    Hi there,

    I have a series of integer values in a given column (AJ), and I would like the macro to find the maximum value:

    Please Login or Register  to view this content.

    However, this gives an error:
    Compile Error: Expected: list seperator or )

    If I put the range in quotes, I don't get the error, but I don't get a result either:

    Please Login or Register  to view this content.

    No message box appears.

    If it was in Excel proper, I would simply do MAX(AJ:AJ), but the equivalent doesn't seem to work.

    What am I missing, please?

    Thanks!
    Bruce.
    Last edited by ssu95bm; 02-02-2011 at 10:37 AM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,647

    Re: Select entire column for max function

    Please Login or Register  to view this content.



  3. #3
    Registered User
    Join Date
    01-10-2011
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    32

    Smile Re: Select entire column for max function

    Many thanks!
    I knew it would be something simple...

+ 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