Results 1 to 6 of 6

Recognize first emtpy Cell in column

Threaded View

JohnDK Recognize first emtpy Cell in... 11-04-2005, 10:39 PM
dok112 what column is the empty cell... 11-04-2005, 10:58 PM
JohnDK it will be the 1st empty... 11-04-2005, 11:05 PM
Guest Re: Recognize first emtpy... 11-04-2005, 11:00 PM
Guest RE: Recognize first emtpy... 11-04-2005, 11:10 PM
JohnDK Thanks all for the... 11-04-2005, 11:31 PM
  1. #1
    Registered User
    Join Date
    03-15-2004
    Posts
    12

    Smile Recognize first emtpy Cell in column

    How can i code to copy range (which is not always going to be the same) from one book.sheet to another. The code would have to look for the first emtpy cell in
    the latter book, and thenn paste.
    Currently i select all cells (which i dont want, i need to select all data cells without header row) and paste in new book after selecting range. Range is dynamic , so i have to code to look for first emtpy cell where i need to paste.

    any ideas.
    Thanx

    sub
    ActiveSheet.Cells.Select
    ActiveSheet.Cells.EntireColumn.AutoFit
    ActiveSheet.Range("c1").Sort _
    Key1:=ActiveSheet.Columns("c"), _
    Header:=xlYes
    ActiveSheet.Cells.Select
    Selection.Copy

    Workbooks.Open "C:\Documents and Settings\User\Desktop\ALLTIE.xls", , False
    AppActivate "Microsoft Excel"ActiveSheet.Cells.Select
    ActiveSheet.Paste
    end sub
    Last edited by JohnDK; 11-04-2005 at 10:53 PM.

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