L
luis
sorry if this is obvious....but I am trying to get a handle on excel
basic... (and my background is C++....)
In a sub, how can I insert a column in a worksheet? or a row?
and how can I delete a worksheet?... it works when it exists, but sometimes
I don't know if the named sheet exists in the workbook... so is there a way
to text if it exists before trying to delete (I get an error...)... e.g.
something like
if Worksheets("someName").Exists=true then
Worksheets("someName").delete
enf if
Many THANKS!!!
luis
basic... (and my background is C++....)
In a sub, how can I insert a column in a worksheet? or a row?
and how can I delete a worksheet?... it works when it exists, but sometimes
I don't know if the named sheet exists in the workbook... so is there a way
to text if it exists before trying to delete (I get an error...)... e.g.
something like
if Worksheets("someName").Exists=true then
Worksheets("someName").delete
enf if
Many THANKS!!!
luis