Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Delete syntax problem
Greetings
I'm having trouble using VB to delete the contents of a table (range A10:P40). The cells just contain values, no formulas. The table is formatted with borders, and I don't want those deleted. Is the syntax Worksheets("Data").Range("A10:P40").Delete ??? Thanks anny |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Delete syntax problem
anny,
Use .ClearContents instead of .Delete Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "anny" wrote in message Greetings I'm having trouble using VB to delete the contents of a table (range A10:P40). The cells just contain values, no formulas. The table is formatted with borders, and I don't want those deleted. Is the syntax Worksheets("Data").Range("A10:P40").Delete ??? Thanks anny |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Delete syntax problem
Try
ClearContents instead of delete -- Regards, Peo Sjoblom Portland, Oregon "anny" wrote in message ... Greetings I'm having trouble using VB to delete the contents of a table (range A10:P40). The cells just contain values, no formulas. The table is formatted with borders, and I don't want those deleted. Is the syntax Worksheets("Data").Range("A10:P40").Delete ??? Thanks anny |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Delete syntax problem
thanks to both!
anny |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
importing csv files, problem with date formats | Excel Worksheet Functions | |||
Worksheet protection problem | Excel Discussion (Misc queries) | |||
How to delete blank rows | Excel Discussion (Misc queries) | |||
Excel Display Problem | Excel Discussion (Misc queries) | |||
Delete problem | New Users to Excel |