Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi, Sax-
The reason you got an error is because you have "ambiguous" names for your routines: you have 3 macros all named "Delay". You need to make them unique, maybe Delay1, Delay2, and Delay3, or combine them all into one routine called Delay, which I've done below. Sub Delay() Dim Beg As Long Beg = Timer Do Loop Until Timer - Beg = 30 Sheets("Sheet1").Select Application.CutCopyMode = False Selection.Copy Sheets("Sheet3").Select ActiveSheet.Paste Beg = Timer Do Loop Until Timer - Beg = 30 Sheets("Sheet1").Select Application.CutCopyMode = False Selection.Copy Sheets("Sheet4").Select ActiveSheet.Paste Beg = Timer Do Loop Until Timer - Beg = 30 Sheets("Sheet1").Select Application.CutCopyMode = False Selection.Copy Sheets("Sheet5").Select ActiveSheet.Paste Sheets("Sheet1").Select End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Event Macro adjustment needed - need to change font color also | Excel Worksheet Functions | |||
It seems to me that I need an event Macro, | Excel Worksheet Functions | |||
Clear Cell based on event w/o macro? | Excel Worksheet Functions | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Macro triggered by an event | Excel Discussion (Misc queries) |