+ Reply to Thread
Results 1 to 3 of 3

Paste Range to Matching Date

Hybrid View

  1. #1
    Registered User
    Join Date
    08-01-2019
    Location
    Chicago, IL
    MS-Off Ver
    2016
    Posts
    2

    Paste Range to Matching Date

    Hi all, I am trying to make a ButtonClick cut and paste a range (A8:E8) with the date in cell A8, to the matching date in column F. Any help with this would be so fantastic.

  2. #2
    Registered User
    Join Date
    07-21-2019
    Location
    Italy
    MS-Off Ver
    2016
    Posts
    58

    Re: Paste Range to Matching Date

    Hi,
    try this
    Public Sub a()
        With ActiveSheet
            Set myrange = .Range("F:F").Find(Range("A8"))
            .Range("A8:E8").Cut
            myrange.Select
            .Paste
        End With
    End Sub

  3. #3
    Registered User
    Join Date
    08-01-2019
    Location
    Chicago, IL
    MS-Off Ver
    2016
    Posts
    2

    Re: Paste Range to Matching Date

    So that worked to get the range into the right row (so, awesome thank you!) but it's making a #REF! Error in column F (there's an =F2+1, =F3+1, etc. formula in it to F142).

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Finding Dates Within Date Range (Based on Today's Date) Whilst Matching Name?
    By EduardStoo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-08-2019, 10:31 AM
  2. Replies: 5
    Last Post: 10-04-2018, 09:57 AM
  3. [SOLVED] Find rows matching on 3 columns - date range; dollar range; and A or B
    By strassbergere in forum Excel General
    Replies: 0
    Last Post: 06-28-2016, 08:21 PM
  4. [SOLVED] Trying to copy/paste rows matching a date value
    By dubcap01 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-22-2015, 03:50 AM
  5. Copy paste values to a cell with matching date
    By Beggar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2014, 12:49 AM
  6. Indexing and matching data from date range and matching
    By Rickomicko in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2013, 11:46 AM
  7. [SOLVED] Copy if date / paste below matching value in another worksheet
    By Lacaycer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2012, 02:56 PM

Tags for this Thread

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