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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:54:30+00:00 2026-05-22T00:54:30+00:00

I have a sheet called "main" that takes values from another file’s sheet called

  • 0

I have a sheet called "main" that takes values from another file’s sheet called "data".

With "ActiveSheet.copy" (in the "main" file) it copies the sheet but with the cells’ links.

Is there any way to copy just the values of the sheet?

Second, my "main" sheet has some merged cells so even if I manually copy & paste the sheets by selecting a range it can’t be copied due to the merged 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-22T00:54:31+00:00Added an answer on May 22, 2026 at 12:54 am

    Check out the options you get with PasteSpecial:

    • Values: this will not copy links and just values only
    • All except borders: this will retain merged cell formatting

    Example – suppose you want to copy sheet1 to sheet 2 where sheet 1 has merged cells

    • In Sheet1 press CTRL + A to select all and then CTRL + C to copy
    • In Sheet2 select cell A1
    • Now right click and select Paste Special...
    • In the dialog box select All except borders...

    Updated – VBA

    Sub CopyWithMergedCells()
        ActiveSheet.Cells.Copy //select all cells on sheet1 and copy
        Worksheets("Sheet2").Select 
        Cells.Select //select all cells on sheet2
        Selection.PasteSpecial Paste:=xlPasteAllExceptBorders, Operation:=xlNone,    SkipBlanks:=False, Transpose:=False //paste with formats preserved
    End Sub
    

    Paste:=xlPasteAllExceptBorders is the key bit. You need to change this if you want to just copy values (and not links)

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

Sidebar

Related Questions

I have an Action Sheet that is called from my root view controller using
Excel 2007: I get my data from Access tables the Excel sheet is called
if i have a sheet called 'values' with just 1 column with cells such
I have a dropdown list where it gets the data from a table called
I have a sheet with a custom button on it from where I control
I have a sheet full of some raw data, about 20,000 rows and 50
I have an excel sheet full of times. They are formatted so that they
I have a class called Image and a class that extends it called ImageSheet
I have a table, Sheet1$ that contains 616 records. I have another table, Rates$
I have the following code that is called when a button on an action

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.