Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Module
I have the following module working within a spreadsheet and it works
perfectly. Is there anyway I can add the January Profile, February Profile etc on the footer when I run this module. One more thing the Profile are run one month behind so when I run this report say today 17th May the footer would read April Profile. Thanks for any help. Private Sub CommandButton1_Click() Dim wb As Workbook 'copy all sheets Worksheets.Copy Set wb = ActiveWorkbook Application.DisplayAlerts = False 'delete the sheets you want wb.Sheets(Array("Suspense", "RCA exc RIM", "Operations summary", "RCA incl RIM", "First Qtr", "Second Qtr", "Third Qtr", "Fourth Qtr")).Delete Application.DisplayAlerts = True For Each Sh In wb.Worksheets Sh.Columns("A:B").EntireColumn.Delete Next End Sub thanks Monty |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Removing Module Protection Programatically | Excel Discussion (Misc queries) | |||
error "module not found" | Excel Discussion (Misc queries) | |||
Module updating of Protected Cells | Excel Discussion (Misc queries) | |||
Difference in the listing of the New module addition in 2002 version | Excel Discussion (Misc queries) | |||
Access Module coded converted to Excel Function | Excel Discussion (Misc queries) |