+ Reply to Thread
Results 1 to 3 of 3

Macro pasting link reference rather than value

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Macro pasting link reference rather than value

    I have the following macro to send a copy of a worksheet as a workbook in an email. Was ok until it was noticed that the links had been removed from source file. Now they are re established the file created keeps referencing the link. I have tried getting it to paste value but cannot see why it will not do it. Am I missing something obvious

    Please Login or Register  to view this content.
    Last edited by nigelog; 07-11-2016 at 11:50 AM.

  2. #2
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Re: Macro pasting link reference rather than value

    Cell containing =today() does copy across as a value. Other cells reference index match value from another workbook. What is copied across is the iferror message wrapping the index match formula if the source file is missing. How can I paste across the visible cell value of these index matches. Any help appreciated.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Macro pasting link reference rather than value

    This replaces the formulas with their current values.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Replies: 2
    Last Post: 03-02-2016, 07:05 AM
  2. Pasting link from Excel into Word
    By Sun13Banjo in forum Excel General
    Replies: 8
    Last Post: 10-08-2015, 10:57 AM
  3. Pasting values that do not link directly to another workbook
    By Ezzard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2015, 02:26 PM
  4. copying and pasting link loses formatting
    By tanglin10 in forum Excel General
    Replies: 0
    Last Post: 01-21-2013, 10:53 PM
  5. Word Files hanging on Pasting as link
    By gaurav.itian in forum Excel General
    Replies: 0
    Last Post: 12-20-2009, 09:47 AM
  6. Problems pasting link + sort
    By jennyc2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2008, 07:09 AM
  7. [SOLVED] need help on pasting link if certain cells blank
    By glennmasters@hotmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2006, 03:29 AM

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