Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Moh Moh is offline
external usenet poster
 
Posts: 58
Default delete columns

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 ;-)
--
cheers
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default delete columns

Columns("A:E").Delete

--
HTH

Bob

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

"Moh" wrote in message
...
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 ;-)
--
cheers



  #3   Report Post  
Posted to microsoft.public.excel.programming
Moh Moh is offline
external usenet poster
 
Posts: 58
Default delete columns

THANKS BOB THAT WORKED PERFECTLY

i have a userform
when the user clicks cancel can i direct them back to the main menu?
--
please can you help... its urgent


"Bob Phillips" wrote:

Columns("A:E").Delete

--
HTH

Bob

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

"Moh" wrote in message
...
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 ;-)
--
cheers




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default delete columns

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)

"Moh" wrote in message
...
THANKS BOB THAT WORKED PERFECTLY

i have a userform
when the user clicks cancel can i direct them back to the main menu?
--
please can you help... its urgent


"Bob Phillips" wrote:

Columns("A:E").Delete

--
HTH

Bob

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

"Moh" wrote in message
...
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 ;-)
--
cheers






  #5   Report Post  
Posted to microsoft.public.excel.programming
Moh Moh is offline
external usenet poster
 
Posts: 58
Default delete columns

sorry for the signature

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

does that help?

cheers


"Bob Phillips" wrote:

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)

"Moh" wrote in message
...
THANKS BOB THAT WORKED PERFECTLY

i have a userform
when the user clicks cancel can i direct them back to the main menu?
--
please can you help... its urgent


"Bob Phillips" wrote:

Columns("A:E").Delete

--
HTH

Bob

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

"Moh" wrote in message
...
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 ;-)
--
cheers






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete columns if 0 jatman New Users to Excel 2 January 3rd 09 04:39 AM
create a macro to delete columns and then border remaining columns Jane777 Excel Programming 1 July 18th 07 12:08 AM
merge text from 2 columns into 1 then delete the old 2 columns sleepindogg Excel Worksheet Functions 4 March 30th 06 07:25 PM
can't delete columns Ed White Excel Programming 6 March 8th 06 03:02 PM
Delete columns Scottmk[_32_] Excel Programming 8 September 3rd 04 01:11 AM


All times are GMT +1. The time now is 12:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"