Results 1 to 4 of 4

Deleting Columns

Threaded View

  1. #1
    Registered User
    Join Date
    09-04-2008
    Location
    Singapore
    Posts
    24

    Deleting Columns

    Hi I've got 2 codes here,

    This:
    Delete_Info = Delete_Column.Text
    Call DelColumn(Delete_Info)
    Will call the sub procedure:
    Sub DelColumn(Delete_Info)
    
        Columns("Delete_Info:IV").Select
        Selection.Delete Shift:=xlToLeft
    End Sub
    It doesnt work. The main purpose here is to delete a few columns all the way to the last column of the file. The initial column to be selected will be from "Delete_Column.Text" (A textbox entered by a user) all the way to column IV.

    So is anyone here able to help me? I will try to provide more info if needed.
    Thanks
    Last edited by mudraker; 12-29-2008 at 07:08 AM. Reason: Mark Thread as Solved

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