+ Reply to Thread
Results 1 to 2 of 2

Macro to delete column from worksheet in a workbook

  1. #1
    Registered User
    Join Date
    07-27-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    53

    Question Macro to delete column from worksheet in a workbook

    Hi,

    I have a workbook with 9 sheets. There are data in worksheet with different column heading. I have to delete column with heading Total1, Total2 and Total3. Its not necessary that every sheet is having these column. If it have one column then it will be Total1, if 2 then Total1 & Total2 likewise. Some times it may not have any such column.

    Is there any way I can have a macro which search and delete these column.

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Macro to delete column from worksheet in a workbook

    Hi
    try the following macro codes. I assume titles are on row 1 (else change the red text).Test it on a copy of your workbook before you use it.
    Please Login or Register  to view this content.
    Ravi

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1