+ Reply to Thread
Results 1 to 8 of 8

MIN & MAX VBA commands not seeming to work

Hybrid View

  1. #1
    Registered User
    Join Date
    11-11-2009
    Location
    Columbus, Ohio; USA
    MS-Off Ver
    Excel 2002
    Posts
    70

    Re: MIN & MAX VBA commands not seeming to work

    I'm trying your suggested code now. Thank you!

    One thing I'd like to ask is, on the INPUT tab on the worksheet I only want the rows outlined in red from the DETAILS sheet to be listed. It seems now when I run your code nearly 300 lines show up on the INPUT page, when I really want only the actual handful of rows that are outlined in red from the DETAILS page.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: MIN & MAX VBA commands not seeming to work

    Given the way you're defining DstRng you need to resize it before using it as basis for paste, ie use:

    DstRng.Resize(1).Offset(R).PasteSpecial xlPasteValues

+ 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