Results 1 to 5 of 5

Macro to transfer data as values to another sheet based on the result from a formula

Threaded View

bpiroma Macro to transfer data as... 09-17-2012, 05:22 PM
Chippy Re: Macro to transfer data as... 09-17-2012, 07:47 PM
bpiroma Re: Macro to transfer data as... 09-18-2012, 09:33 AM
Chippy Re: Macro to transfer data as... 09-18-2012, 11:05 AM
bpiroma Re: Macro to transfer data as... 09-19-2012, 07:22 AM
  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Macro to transfer data as values to another sheet based on the result from a formula

    Hi,

    I found a macro (created by ky095n) in one forum that I tweaked so I can use it to transfer data from one sheet to another sheet (named: Closed) then delete that data in main sheet.
    My problem is that I want the transferred data as values (no formulas).
    Also, right now the code works fine if I type the text "Closed" but if the text is a result of a formula, the code doesn't work.
    I am new in excel.
    Hope I was able to explain my problem.
    Thanks in advance.

    Option Explicit
    Dim LastRow As Range
    Private Sub Worksheet_Change(ByVal Target As Range)
    
    
    If Target.Text = "Closed" Then
         Target.EntireRow.Copy Sheets("Closed").Range("a20").End(xlUp).Offset(1, 0)
              Target.EntireRow.Delete
                   Application.CutCopyMode = False
    End If
    End Sub
    Last edited by bpiroma; 09-19-2012 at 07:22 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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