+ Reply to Thread
Results 1 to 3 of 3

formula turning my copy page into text

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    dallas tx
    MS-Off Ver
    365 (15.0.5501.1000)
    Posts
    534

    formula turning my copy page into text

    I have a macro that copies data off a page and paste it onto another page. The problem I am having is the code seems to turn the page that was copied into all text cells and erases the formulas I have active on the page. I have been over the code but I can't see where the fault is causing this. The code should only copy the page and paste as text leaving the original pages formulas intact. I need more eyes to find the problem.
    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: formula turning my copy page into text

    You have cells.select:selection.copy:pastespecial xlPasteValues.

    Those lines of code are changing your cells to values.

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: formula turning my copy page into text

    Hi,

    Your code is copy and pasting the same selection. Perhaps this
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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] Turning text into a formula
    By bullo1854 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-01-2018, 02:51 PM
  2. Trying to find & copy text string from page source code
    By LightingPop in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-16-2015, 09:24 PM
  3. [SOLVED] Turning formulas into text?
    By Cmorgan in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-18-2013, 04:31 AM
  4. [SOLVED] Turning text into a date
    By entiendo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2012, 04:22 AM
  5. Replies: 3
    Last Post: 12-18-2008, 07:04 PM
  6. Turning Text into a Formula
    By iainkane in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-06-2007, 06:18 PM
  7. [SOLVED] Turning .xls form into web page
    By EdLeeYoung in forum Excel General
    Replies: 1
    Last Post: 05-17-2005, 11:06 PM

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