Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6253797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:04:04+00:00 2026-05-24T14:04:04+00:00

I have what I think is a pretty simple question. I have a report

  • 0

I have what I think is a pretty simple question.

I have a report that is updated daily. A specific range (B5:AC5) from one worksheet needs to be copied to a different worksheet on a daily basis. This doesn’t need to be done automatically, I’d just like to add the code for it into a formatting macro I’ve created.

I have two issues with this:

  1. I want the data to be pasted in the row that corresponds with that specific day. Column A in worksheet “Daily” has the list of working days for that month. So all I need is for the macro to find today’s date in Column A in “Daily”, and paste b5:AC5 from “Matrix” in b?:ac? in that row on “Daily”.

  2. I also need it to be a paste special, with only the values being pasted.

I’m very new to VB, but can usually follow code logic pretty well. Let me know if you need any more information from me. Thank you so much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T14:04:05+00:00Added an answer on May 24, 2026 at 2:04 pm

    Assuming that your range will always be in B5:AC5, here is what I came up with:

    Sub FindToday()
    
        Dim FoundDate As Range
        Set FoundDate = Worksheets("Daily").Columns("A").Find(DateValue(Now), LookIn:=xlValues, lookat:=xlWhole)
    
        If Not FoundDate Is Nothing Then ' if we don't find the date, simply skip. 
            Worksheets("Matrix").Range("B5:AC5").Copy
            FoundDate.Offset(0, 1).PasteSpecial xlPasteValues, xlPasteSpecialOperationNone, False, False ' You can see that the first argument in PasteSpecial is set to only paste values. 
    
       End If
    End Sub
    

    I tested this as best I could given your information. I put a set of ascending numbers in the B5:AC5 range, with formulas, put a set of ascending dates for one month in the Daily sheet, and it seems to do what you’re looking for.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

pretty simple question, can't quite fig. it out. I have 2 js array's that
I think I have a pretty simple goal but cant seem to reach it.
I have an assignment (i think a pretty common one) where the goal is
I think this is a pretty simple question but I'm having trouble finding the
my question is pretty simple, I think. And it's more about math than coding.
I am new to PDO and I have pretty simple question. I have a
i would think that a delete would be pretty simple, I haven't been able
This is a pretty simple question.. lets say I have the following. wordArray WORD
Wierd question title... What i am trying to accomplish is pretty simple i think.
I think this is pretty typical, you have the same website project with an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.