seba64
New Member
- Joined
- Apr 24, 2016
- Messages
- 32
I have a userform with a button. On click that button, the code copy sheet1 to sheet2 and then select some rows.
When the code execute the next sentence, excel show a message saying something like:
[Can´t enter on interruption mode]
after that, the userform disappear
The message disappear if add the code: Application.DisplayAlerts = False
but the userform disappears anyway
The sentence
When the code execute the next sentence, excel show a message saying something like:
[Can´t enter on interruption mode]
after that, the userform disappear
The message disappear if add the code: Application.DisplayAlerts = False
but the userform disappears anyway
The sentence
Code:
Sheets(nombHoja).Copy after:=Sheets(Sheets.Count)