Results 1 to 3 of 3

copying hidden cells and paste to non hidden cells on same sheet

Threaded View

  1. #1
    Registered User
    Join Date
    12-10-2007
    Posts
    22

    copying hidden cells and paste to non hidden cells on same sheet

    I'm trying to copy hidden cells and paste them to non hidden rows, i'm useing
    Private Sub CommandButton1_Click()
    Range("A5:I10").Copy
        
        'here it determines the first free row
        firstFreeRow = Cells(ActiveSheet.Rows.Count, "A").End(xlUp).Row + 4
        Range("A" & firstFreeRow).Select
        ActiveSheet.Paste
        Application.CutCopyMode = False
        Range("D" & firstFreeRow).Select
    End Sub
    and this works just fine for cutting selected cells, and pasteing them were I need them, but as soon as I hide A5:I10- I do not get the same result.-
    were do I go from here- I have searched the message boards for this question and can not find anything that will help with this situation.
    thanx
    Last edited by 2newguy; 12-12-2007 at 01:52 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