Closed Thread
Results 1 to 39 of 39

Calendar & Buttons

  1. #1
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Calendar & Buttons

    I am trying to create 2 completely separate spreadsheets for work and would like them to do a couple very specific things. Not even sure if it's possible, but it sounds like it would be.

    1. I have a coversheet that has items on it for a customer. This is created by entering data on other worksheets in the same workbook so the cells need to stay put. Thing is, on this coversheet, it includes all of the customer's items. I want to be able to keep these items to use them when they order, but I want to hide the ones that I'm not currently using. Right now, I'm just manually hiding the ones I don't want to be printed out on the coversheet. Here's what I would like it to do; basically, when I open the document I would like for it to give me item buttons, buttons to click that indicate what I want hidden and want I want showing on the coversheet. That way, when I click OK after selecting the buttons of the items I want to be unhidden, they are the only ones that will print out. Is this possible?

    2. This one I believe is a little easier. Basically I would like 12 monthly calendars as tabs, then another sheet for the data. The datasheet will have customers, a date, and a few other specifics. I like this datasheet primarily for reference, but the calendar is very necessary for routing trucks, when they'll be in certain towns, etc. Here's what I want; I want to be able to put the data into the datasheet, customer, city, profile number, date picked up, and quantity. I want this data, or some of it anyway, then referenced by the date onto the calendar in the correct day. I think a dropdown menu would be helpful for some of these things when inputting dates, but can't figure out how to make the datasheet "find" the correct date on the calendar, or vise versa.

    Any advice to get this off the ground would be very useful and would simplify 2 very time consuming and monotonous tasks. Thank you.
    Last edited by Omaha; 03-17-2009 at 08:37 PM.

  2. #2
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    I would like to help you with this, it sounds like a userform would help. Could you post a sample of what you are doing?

  3. #3
    Forum Contributor mubashir aziz's Avatar
    Join Date
    03-18-2009
    Location
    Lahore, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    533

    Re: Calendar & Buttons

    Send a sample file and we'll see

  4. #4
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Not sure how to post an example, but here it goes:

    Re: #1, the coversheet. The corresponding labels dictate what goes onto the coversheet. Say a label has the following information.

    Barsol A-3488
    332 Lbs./Drum
    RM##-####-####-#
    Lot # CB021309
    PO USMMMFR###
    Rel. # 18-Mar-09

    Then in the rows that are referenced from this information would look like this:

    Re: PO No. USMMMFR###
    Release No. #
    Product: Barsol A-3488
    RM: ##-####-####-# Issued 01/05/99
    Quantity: 48 Drums (15,936 Lbs.)
    Lot Number: CB021309

    It was told to me that macros should be able to do this. Do I need to physically type out exactly what I want macros to record for each product (there are 9 of them) and, if so, is there a way to print out the coversheet with the formulas displayed so I can type that in without flipping back and forth to the other tabs while I'm recording the macros?

    Re: #2, the calendar. The datasheet dictates what appears on the calendar. The datasheet would look something like this:

    Customer City Profile # P/U Date Driver Qty
    International Sensor S Aurora 97120119 5-Mar Tony 1
    Knight & Carver Howard 2007110136 5-Mar Gene 7
    Midland Packaging Lincoln 98040206 5-Mar Nick 2

    Then I would want my calendar, for example, on the 5th of March, show me
    International Sensor S, Aurora, 1
    Knight & Carver, Howard, 7
    Midland Packaging, Lincoln, 2

    This one, I'm being told, is easier to do than the other idea I have. It was also suggested that I may be able to easily use Outlook instead of Excel. I use the calendar feature in Outlook often, but I don't know how to reference off of a spreadsheet onto this calendar.

  5. #5
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    For your first sheet, try adding a column in front of the data with the customers name and then go to the Data menu and choose Filter->Autofilter, you can then choose which customer or customers to print.

  6. #6
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    for the other spreadsheet insert a column in front of the data and add the following:

    MID(B1,IF(RIGHT(LEFT(B1,FIND("-",B1)-2),1)=" ",FIND("-",B1)-1,FIND("-",B1)-2),IF(RIGHT(LEFT(B1,FIND("-",B1)-2),1)=" ",5,6))

    in as the formula in column A, then use the same Data->Filter->Autofilter, then as you sort or filter column A by date, you see what you need.

    If this is not answering your problems, please attach a workbook containing sample data for us to look at.

    Have a great day.

  7. #7
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    For your first sheet, try adding a column in front of the data with the customers name and then go to the Data menu and choose Filter->Autofilter, you can then choose which customer or customers to print.
    I'm sorry, I'm not seeing how it allows me to cancel out this block of cells to be excluded from the printout. It gives me dropdown tabs and asks which ones I want, but not an option to clear all. Is there a way, when you open the document, to have cells specified to include or not include?

  8. #8
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    for the other spreadsheet insert a column in front of the data and add the following:

    MID(B1,IF(RIGHT(LEFT(B1,FIND("-",B1)-2),1)=" ",FIND("-",B1)-1,FIND("-",B1)-2),IF(RIGHT(LEFT(B1,FIND("-",B1)-2),1)=" ",5,6))

    in as the formula in column A, then use the same Data->Filter->Autofilter, then as you sort or filter column A by date, you see what you need.

    If this is not answering your problems, please attach a workbook containing sample data for us to look at.

    Have a great day.
    I don't think this did what I was hoping, but I very well might be misunderstanding.

    I didn't realize I could attach the document to a post. Can't normally do that in forums. Let me try that and see if it makes more sense that way.

    Thanks.

  9. #9
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Ok, I think I attached them. These 2 are the calendar and then the datasheet that I want to manage it with.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Ok, and here's the more pertinent of the 2 "projects". You can see on the front page (tab) that there are numerous products, each having their own 6x4 cell range. I want to be able to hide them from the outset of opening the document. Like a button that pops up asking what products (cell ranges) to include or to show.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    I have created the userform for the hidding rows workbook. I will look into the calander one later. Overall, I think your spreadsheet needs to be designed better. If you would like some suggestions just let me know.

  12. #12
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Forgot to attach it.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Sorry, I ran it a couple of more times and I noticed it was cutting the PO numbers off of the top of some of the entries. Use this one.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Talking Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Sorry, I ran it a couple of more times and I noticed it was cutting the PO numbers off of the top of some of the entries. Use this one.
    Man, I love that! Only problem is it's asking for the products, but giving the PO numbers to choose from.

  15. #15
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Sorry, I ran it a couple of more times and I noticed it was cutting the PO numbers off of the top of some of the entries. Use this one.
    One more thing Everstrivin. I messed with it a little and found that the Isopropyl Alcohol 99 stays on there even if it's not selected. This looks great though, man. I think we'll definitely be going with this.

  16. #16
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Yeah, I got it now. In reply to your query about the product vs. PO, I could use whichever one you wanted to sort by. Just let me know.
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Yeah, I got it now. In reply to your query about the product vs. PO, I could use whichever one you wanted to sort by. Just let me know.
    It looks great Everstrivin. Can you sort by product name, i.e. Barsol A-3488, Propylene Glycol, Toluol, etc.?

  18. #18
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    It's been fun, I have one other project before I can get to your calendar problem. Enjoy!
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    It's been fun, I have one other project before I can get to your calendar problem. Enjoy!
    That's awesome man. Thank you so much for your help. Do you think you could do the same thing with this other one? Same customer, different location, fewer products.
    Attached Files Attached Files

  20. #20
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Here you go. Also, if you wouldn't mind clicking on the scales for this thread and give me a nice rating, that would be cool. You can wait until I finish with the Calendar before you mark this thread as solved, though.

    Have a great day.
    Attached Files Attached Files

  21. #21
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Here you go. Also, if you wouldn't mind clicking on the scales for this thread and give me a nice rating, that would be cool. You can wait until I finish with the Calendar before you mark this thread as solved, though.

    Have a great day.
    I didn't know about the scale rating, but I will definitely be tipping it in your favor.

  22. #22
    Forum Contributor excelkeechak's Avatar
    Join Date
    07-21-2008
    Location
    India.
    MS-Off Ver
    2013 /2016
    Posts
    363

    Re: Calendar & Buttons

    Is it possible to insert calender controls in comboboxes....????????///

  23. #23
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    excelkeechak what exactly are you looking to do? You can make a range containg dates be the rowsource for a combobox, or you can just use a calendar control.

  24. #24
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Omaha,

    I hope you are still checking for this. I finally got the calendar working. I put it on one sheet, you just need to select the right month from the drop down, then you can see the results for that month.

    The filesize is a bit larger. I sure hope this works for you. I designed it using Excel 2007, but I'm pretty sure the formulas I used are available in Excel 2003 as well.

    Enjoy!
    Attached Files Attached Files

  25. #25
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Ok, I can't figure out how to tie this in with Outlook or how the other calendar works.

  26. #26
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    I'm sorry, I have no idea how to tie things into outlook, I don't use outlook except at work because I have to. If you can generate for of those waste logs then this calendar will work for those. I designed the calendar to work for a list from any source with the data you had in your waste log list. It is possible that on a slower machine the calendar will not work. To make it work, it should ask you to find the linked workbook, which should always be open when using the calendar and the filename on the right should match the cell below it. If this continues to not work for you, please describe what is happening. I will see about integration with Outlook while I'm at work.

  27. #27
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Cool. I'll tinker with it here at work and see what I can figure out. Thanks again man, this is awesome.

    Using the Coversheet/Label spreadsheet for the first time today (officially ).

  28. #28
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Would you take a look at this when you get a chance? For some reason the window pops up, but the options are missing.
    Attached Files Attached Files

  29. #29
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Omaha,

    I'm sorry, I haven't logged in for a while. Would you still like me to have a look at what is happening to your workbook?
    If you can't figure out how a formula works, try stepping through it using "Evaluate Formula" in the Formula Auditing menu item in the tools menu!

    If you want to see where your code went wrong, try stepping through it by clicking in the code and pressing F8 and watch as the magic happens!


    If you are happy with any of the results, please add to the contributor's reputation by clicking the star icon.

  30. #30
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Omaha,

    I'm sorry, I haven't logged in for a while. Would you still like me to have a look at what is happening to your workbook?
    Basically, when we save it after updating things, it gets messed up. The window doesn't pop up properly. I'm not having any problems as long as I don't save it, but once I do it gets funky after a while. It might be more complicated than you want to deal with since there's shortcuts on different networks that a few people are working off of.

  31. #31
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Omaha,

    Sorry for taking so long, but I think this should work well, let me know if there are any issues. Test it for a while, if you like it, then I will do the other workbook. Also, if you would like me to streamline the code in the other macros, I can do that for you.

    Take care,
    Attached Files Attached Files

  32. #32
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Omaha,

    Sorry for taking so long, but I think this should work well, let me know if there are any issues. Test it for a while, if you like it, then I will do the other workbook. Also, if you would like me to streamline the code in the other macros, I can do that for you.

    Take care,
    You're awesome man. Let me give it a test drive and see how it goes and I'll let you know. Thanks a million dude.

  33. #33
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Everstrivin, hate to bring this up yet again, but the 3M Valley spreadsheet is throwing me fits now. When I pull it up, the first menu screen doesn't give me any options to have show up on the first coversheet. Not sure where they went or how to fix.

  34. #34
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: Calendar & Buttons

    Have you managed a solution? I only just noticed your post, sorry.

  35. #35
    Registered User
    Join Date
    03-17-2009
    Location
    Omaha
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Calendar & Buttons

    Quote Originally Posted by Everstrivin View Post
    Have you managed a solution? I only just noticed your post, sorry.
    I have, but others who have access have had trouble. I think it's a shared issue on the server. Doesn't save correctly or the micros get funky when it gets resaved in different shortcut folders that are shared on the server. Still working good for me though!

    Thanks!

  36. #36
    Registered User
    Join Date
    07-16-2011
    Location
    san francisco, california
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Calendar & Buttons

    I need to create a spreadsheet that has 2 workbooks in it. One workbook would be the information that I need populated into a calendar. The problem is, I have 16 departments that I needed color coded or separated somehow to show on one master calendar. I would like it to look like an actual calendar instead of a list. The calendar needs to be a monthly calendar. I know it's possible but I don't know how to do it. I was playing with a pivot table but it's just not what I want.

    Can someone please help me?! PLEASE>!

  37. #37
    Registered User
    Join Date
    10-04-2011
    Location
    kuala lumpuer, malaysia
    MS-Off Ver
    Excel 2003
    Posts
    1

    how to autopopulate calendars into excel?

    hai...i've been giving an assignment to autopopulate the calendar in excel...let say an employee want to take a leave, the person can just click the date on the calendar and automatically it will show in the excel. how can i do that? all i know is that it needs to be done using VB.

  38. #38
    Registered User
    Join Date
    10-26-2011
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Calendar & Buttons

    I also have been trying to make a schedule automatically dump into a simple monthly calendar.
    I have personnel traveling during the month for different reasons and need a simple calendar showing the number of people gone each day and where they are.
    The data comes from a log into which travel requirements are added as they are identified, rather than by date. So everytime I get an additional person going to a location previously logged, I have to resort the log and redo the subtotals in the calendar I so far came up with.
    In addition, I frequently send multiple people to workshops/conferences which last several days, but not all persons have to attend every day therefore there is overlap of some days, but not others. I've used an if formula, subtotals, and graded conditional coloring to show when more empoyees are out at one time.
    my issues are as follows:
    1. every month I redo a new calendar to replace the dates in row 2 for my IF calculations
    2. additions to the log do not auto-update the calendar
    3. refresh does not work here
    4. log data is not continuous because events outside of the current month would take rows in the calendar, although the days would be blank. I have to keep a separate log of all events, and then only dump events that contain any days within the month I am working on.

    I am attaching the file (fictitious data used) of my best attempt to illustrate the distribution of out-of-office personnel. Any help/tips in making this automatic, or 'refreshable' would be great.
    Attached Files Attached Files

  39. #39
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Calendar & Buttons

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

Closed 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