Hi All,
When I use the following formula:-
Thisworkbook.sheets("Sheet1").delete
It asks me whether I want to delete the sheet - Is there any way of
bypassing this?
Ta
Andi
Hi All,
When I use the following formula:-
Thisworkbook.sheets("Sheet1").delete
It asks me whether I want to delete the sheet - Is there any way of
bypassing this?
Ta
Andi
application.displayalerts=false
resets autom when macro is done.
--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam
Andibevan wrote :
> Hi All,
>
> When I use the following formula:-
>
> Thisworkbook.sheets("Sheet1").delete
>
> It asks me whether I want to delete the sheet - Is there any way of
> bypassing this?
>
> Ta
>
> Andi
application.displayalerts = false
Thisworkbook.sheets("Sheet1").delete
application.displayalerts = true
Andibevan wrote:
>
> Hi All,
>
> When I use the following formula:-
>
> Thisworkbook.sheets("Sheet1").delete
>
> It asks me whether I want to delete the sheet - Is there any way of
> bypassing this?
>
> Ta
>
> Andi
--
Dave Peterson
Hi
You want it to say
Application.DisplayAlerts=False
Thisworkbook.sheets("Sheet1").delete
Application.DisplayAlerts=True
Doug
Andibevan wrote in message ...
>Hi All,
>
>When I use the following formula:-
>
>Thisworkbook.sheets("Sheet1").delete
>
>It asks me whether I want to delete the sheet - Is there any way of
>bypassing this?
>
>Ta
>
>Andi
>
>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks