Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
About a year ago, with the help of this forum I was able to make a macro to transfer from an extract sheets ( A00) to and interface sheet ( A00 (2)). Now there is an additional sheet created by the accounting software named E30. I tried to refresh again my mine, but I almost forgot, can anyone help me? the meaning of this VBA: 1.ActiveWindow.ScrollWorkbookTabs Position:=xlLast Selection.Copy 2. ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 3.ActiveWindow.ScrollWorkbookTabs Sheets:=1 4.Application.CutCopyMode = False Or is there any way we can slow down the process when we run the macro, so that we can see what it does? This is the VBA which is working but, I do not know how to insert inthe VBA, the Sheet E30 extract and E30(20) interface sheets: Sub AutoShape10_Click() ' ' AutoShape10_Click Macro ' Macro recorded 5/11/2007 by Frank ' This is to copy data from extracts to Interface sheet ' ActiveWindow.ScrollWorkbookTabs Position:=xlLast Sheets("A00").Select Cells.Select Selection.Copy ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 Sheets("A00 (2)").Select Cells.Select ActiveSheet.Paste Sheets("E00").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("E00 (2)").Select Cells.Select ActiveSheet.Paste ActiveWindow.ScrollWorkbookTabs Sheets:=1 Sheets("S20").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("S20 (2)").Select Cells.Select ActiveSheet.Paste Sheets("S10 (2)").Select Cells.Select Sheets("S10").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("S10 (2)").Select ActiveSheet.Paste Sheets("M10 (2)").Select Cells.Select Sheets("M10").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("M10 (2)").Select ActiveSheet.Paste Sheets("M00 (2)").Select Cells.Select Sheets("M00").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("M00 (2)").Select ActiveSheet.Paste Sheets("E20 (2)").Select Cells.Select ActiveWindow.ScrollWorkbookTabs Sheets:=1 Sheets("E20").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("E20 (2)").Select ActiveSheet.Paste Sheets("E10 (2)").Select Cells.Select Sheets("E10").Select Cells.Select Application.CutCopyMode = False Selection.Copy Sheets("E10 (2)").Select ActiveSheet.Paste ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 ActiveWindow.ScrollWorkbookTabs Sheets:=-1 Sheets("SUMMARYWBLA").Select End Sub -- H. Frank Situmorang |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
meaning of E in y=3E-.05x^3 | Charts and Charting in Excel | |||
Can anyone tell me the meaning of 'xlsx'? | Excel Discussion (Misc queries) | |||
what is the meaning of <? | Excel Worksheet Functions | |||
meaning of ######### | Excel Discussion (Misc queries) | |||
meaning of Dynamic? | Excel Programming |