delete columns

  • Thread starter Thread starter Moh
  • Start date Start date
M

Moh

hi,

i got 5 columns A,B,C,D,E

Is there a code i can write for a macro to delete all 5 columns

im sure its something simple ;-)
 
Columns("A:E").Delete

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
THANKS BOB THAT WORKED PERFECTLY

i have a userform
when the user clicks cancel can i direct them back to the main menu?
 
What main menu?

Can you remove that signature, every question that you ask cannot be urgent.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
sorry for the signature

the main menu is a worksheet sheet.("mainmenu")

does that help?

cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top