+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    02-24-2009
    Location
    Hertfordshire
    MS-Off Ver
    Excel 2003
    Posts
    2

    hide and unhide columns with a button

    I have created a program to manage our cars at work.

    I managed to setup some macro's to change the colour of the squares etc to show the status of the booking.

    Originally I had a bold black line around the bookings to make them stand out more but couldnt get the remove booking to remove the line and restore to normal grids without coming up with an error so gave up.

    The other problem i have is that i need to make a button to hide the coloum with the dates that have gone by.
    I also need one to un-hide to enable me to look at the history.

    Thanks very much and sorry if my descriptions are pretty rubbish. Im very new to all this.

    Jon

    I cannot upload from work so was wondering if i could email someone the program and could they possibly load it up for me?
    Last edited by VBA Noob; 02-24-2009 at 06:41 AM.

  2. #2
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,447

    Re: hide and unhide columns with a button

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    Check out the free Excel Toolbar

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)


    Code Tags: Make your code easier for us to read

  3. #3
    Registered User
    Join Date
    02-24-2009
    Location
    Hertfordshire
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: hide and unhide columns with a button

    Quote Originally Posted by royUK View Post
    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Could i possibly email it to you as I cannot upload from work.

    Jon

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.2.0