Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Public Sub Workbook_Open()
Dim wkb As Workbook Dim wks As Worksheet Set wkb = ActiveWorkbook For Each wks In wkb.Worksheets(Array("Koram", "Hong_Kong", "Korea", "China", "Malaysia", "Brunei", "Indonesia", _ "Philippines", "Singapore", "Thailand", "Taiwan", "Vietnam", "HUB", "India", "Sri_Lanka", "Bangladesh")) Call sorting(wks) Call SubTot(wks) Call changes(wks) Next wks end sub this code work well for changes(wks). when i add in the other 2, the macro will not be apply to all required sheets but only apply to one sheet. what i m lacking here? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
template macro executing problem the 2nd time | Excel Programming | |||
Problem in executing query | Excel Programming | |||
Executing multiple queries through a macro | Excel Discussion (Misc queries) | |||
Problem executing a macro from different workbook where it is | Excel Discussion (Misc queries) | |||
Executing macro for all worksheet from a different worksheet | New Users to Excel |