+ Reply to Thread
Results 1 to 1 of 1

Excel 2007 : Archive Macro Modification, Unhide/Hide addition

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Archive Macro Modification, Unhide/Hide addition

    The attached sheet has a Macro which archives cells A1 to C1 from "Enter Data" sheet into "Archive" sheet at the next empty cells. (Just hit button 1)

    I need to hide "Archive" sheet.

    The Macro therefore needs modifying to unhide and then re hide "Archive" sheet.

    I need the help of an Excel Wizz again. Thanks in advance of Forum support,

    Chambo

    ps Heres the Macro that is currently good:

    [Sub Macro2()

    Dim LastRow As Double

    Sheets("Enter Data").Select
    Range("a1:c1").Select
    Selection.Copy

    Sheets("Archive").Select
    LastRow = Cells(Rows.Count, "A").End(xlUp).Row
    Cells(LastRow + 1, "A").Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False

    Sheets("Enter Data").Select
    Range("A2").Select
    Application.CutCopyMode = False
    End Sub]


    Solved

    I worked it out. If anyone wants a copy let me know

    Chambo
    Attached Files Attached Files
    Last edited by Martin Chamberlin; 11-24-2011 at 02:25 PM. Reason: Solved
    Chambo1160

+ Reply to Thread

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