Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear contents or delete sheet in Excel
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Clear contents or delete sheet in Excel
Miscellaneous
Thread ID:
00110614
Message ID:
00110614
Views:
49
I'm doing some more excel automation and have run into a problem I can't find with my secret decoder ring. I want to either a.) clear the contents of a sheet or b.) delete a sheet without having the dialog box come up. Is this possible?

I've tried:

ox.Sheets("Backup").Select
ox.Cells.Select
ox.cells.clear.contents

and

ox.ActiveWindow.SelectedSheets.Delete

Both work but the Dialog box comes up to confirm. I want this to be automatic, sort of like overwite file.


TIA
Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Next
Reply
Map
View

Click here to load this message in the networking platform