+ Reply to Thread
Results 1 to 3 of 3

Print Macro not working...hiding extra fields

  1. #1
    Registered User
    Join Date
    10-15-2007
    Location
    Charlotte, NC
    MS-Off Ver
    2003
    Posts
    50

    Print Macro not working...hiding extra fields

    Good afternoon,
    I am some difficulty trying to figure out why this macro doesn't work. I’m trying to only show the columns that have a “q” on the top of the
    spreadsheet. But for some reason it hides additional columns (BS-BZ).

    Can anyone help me out?

    I tried to post the sheet but it says its to large (208K).

    Macro Code:
    Please Login or Register  to view this content.
    If you would like a copy of the file e-mail me and I will send it to you via e-mail.

    Thanks in advance!
    Larry

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    If you want to hide the entire column if W1 to AW1 contains the letter q then try

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-15-2007
    Location
    Charlotte, NC
    MS-Off Ver
    2003
    Posts
    50

    Merge Cells may be culprit

    Thanks VBA noob! I'll give that a shot. I have found out that the merged cells I have in columns BS:BZ (the columns that were dissappearing) will stay as long as I "un-merge" them.

    Is there any reason why it would do that?

    LWC

+ 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