Results 1 to 6 of 6

Copy cells with numeric value

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Copy cells with numeric value

    I thought I posted this already but I can not find the thread - Sorry if I doubled posted.

    I am trying to look down column H and copy any row that has a numeric value
    Sub AddSucc()
       Dim Lname As Range
       Dim aRow As Long
    
        For Each Lname In ActiveSheet.Range("H1:H" & Cells(Rows.Count, "H").End(xlUp).Row)
            
            If Lname.Value = IsNumeric Then  <---- This is wrong but what goes here??
            Lname.EntireRow.Copy
            Sheets("sheet1").Select
            lMaxRows = Cells(Rows.Count, "A").End(xlUp).Row
            Range("A" & lMaxRows + 1).PasteSpecial
            Sheets("Oct 21st").Select
            End If
        Next Lname
      
       End Sub
    Thank you!
    Last edited by Tortus; 10-21-2013 at 02:02 PM. Reason: Solved - Will be used by many is my guess!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sum of numeric values within cells also containing non-numeric characters
    By Mike Brewer in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-24-2013, 09:16 AM
  2. alpha numeric data auto copy
    By tldsog in forum Excel General
    Replies: 2
    Last Post: 02-08-2013, 07:26 AM
  3. Replies: 0
    Last Post: 09-22-2012, 03:38 AM
  4. Replies: 5
    Last Post: 08-09-2012, 01:34 PM
  5. Replies: 0
    Last Post: 06-12-2012, 03:37 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