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 6912307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:04:31+00:00 2026-05-27T09:04:31+00:00

I have a worksheet, on which I am using a macro to create a

  • 0

I have a worksheet, on which I am using a macro to create a graph. As the data is scattered across various worksheets in the workbook, I am copying the same and creating a continuous set of columns to use for the creation of the graph:

Sheets("Data1").Range("A29:A39").Copy Destination:=Sheets("Chart").Range("AA29:AA39")
Sheets("Data2").Range("D29:D39").Copy Destination:=Sheets("Chart").Range("AB29:AB39")
Sheets("Data3").Range("I29:I39").Copy Destination:=Sheets("Chart").Range("ACI29:AC39")
Sheets("Data3").Range("D129:D139").Copy Destination:=Sheets("Chart").Range("AD29:AD39")

My data looks like this:

CustomerA            489 456 93%
CustomerB            63  0   0%
CustomerC            123 123 100%
CustomerD            185 172 93%

The above are the values I wish to get in the newly copied cells, not how they were calculated using formulas. I am using the above vba for this work.

How can I get the absolute values, instead of the relative formulas in my newly copied worksheet cells?

  • 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-27T09:04:32+00:00Added an answer on May 27, 2026 at 9:04 am

    Use Value like this

    Sheets("Chart").Range("AA29:AA39").Value = Sheets("Data1").Range("A29:A39").Value
    

    update: if you are dumping the data into cells that are already formatted as numbers and percentages then this process is cleaner than a copy and paste. If you do need the formats then you could either combine a paste special formtas with the line above or combine our two codes to

    • get the cell formatting indentical between Data1 and Chart
    • dump the values from Data1 to Chart1 replacing the formulae from step 1

      Sheets("Data1").Range("A29:A39").Copy Destination:=Sheets("Chart").Range("AA29:AA39")
      Sheets("Chart").Range("AA29:AA39").Value = Sheets("Data1").Range("A29:A39").Value
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a workbook which has a macro that copies some data into a
I have an Excel worksheet in XML format which contains <Cell ss:StyleID=s127><Data ss:Type=String>Replace Me</Data></Cell>
I have an Excel worksheet where the user enters certain data, which I want
I have a VBA publishing macro in Excel which generates a published workbook based
I have a shared Excel worksheet (using .XLS due to compatibility issues), which I
I have a Delphi application which reads data from an excel spreadsheet using code
I have a chart in a Worksheet in Excel and I have a macro
I have some data in an Excel Worksheet. I would like to select all
I am creating an Excel Worksheet from C# using Microsoft.Office.Interop.Excel, and I have not
I have around 25 worksheets in my workbook (Excel spreadsheet). Is there a way

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.