+ Reply to Thread
Results 1 to 4 of 4

hiding columns using macro

  1. #1
    Registered User
    Join Date
    11-08-2006
    Posts
    30

    hiding columns using macro

    morning all....

    is there any macro function for hiding columns ? tried recording my macro and putting it into my existing workbook, but can't seem to get it to work..

    Please Login or Register  to view this content.
    the bolded sentence states that in between those to 'searches', i need to hide 3 columns....any solutions ?

    thanks in advances

    mfg
    eddy
    Last edited by EddyAddelan; 11-14-2006 at 05:55 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523
    Sheets("TAB_HVT_STANDORTE_SHELF_BB").Activate

    Search ("ONKZ")

    '3 columns are suppose to be hidden here

    Search ("HVT_NR")
    Search ("NE_KENNUNG")

    Sheets("BREITBAND").Activate

    Hi,
    Is there a criteria to what gets hidden, or do they just get hidden?

  3. #3
    Registered User
    Join Date
    11-08-2006
    Posts
    30
    hye dave...

    they just need to be hidden...i know it sounds easy, but the thing is, i have this search function already in my workbook, and it pastes all the searched columns beside each other...i just wanna add 3 new columns in between those searched columns and get it hidden(in order to have the head listing similar with my other sheet)

    hope u get me on this one

    cheers
    eddy

  4. #4
    Registered User
    Join Date
    10-18-2006
    Posts
    49
    not sure what you exactly mean but you can incorporate the following command based on your need:

    columns(n).hidden = true

    this will hide the nth column

+ 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