Mscal.ocx Integrate Popup Calender
Feb 23, 2005
Some people throughout our company were having problems using the excel form I created which contains a popup calender. Even with the mscal.ocx installed some people were having issues.
I found a popup calender that can be integrated into the form, and doesn't rely on the mscal.ocx. I put this into the form (that MANY people here helped create), and now all of the people that use the form no longer have any issues.
View 9 Replies
ADVERTISEMENT
Nov 5, 2008
I am trying to distribute an app that uses MSCAL Control. I am including the MSCAL.ocx file in the setup file and it saves it to a dierectory. However, when the app runs it will not load the activex Control (MSCAL)
Application.VBE.ActiveVBProject.References.AddFromFile("c:Program FileBM ApplicationMSCAL.OCX")
View 9 Replies
View Related
Mar 22, 2007
I'm using MSCal.OCX to have a user select a date from a calendar in a user form. It all works fine on my machine and the machines of my colleagues. All of these are running XP Pro with Office Pro, Excel version 11.8120.8122. All have SP2 installed.
The problem comes when the customer tries to use it on their machine. They are running XP Pro with Office for Small Businesses, version 11.6560.6568.
I have done a search through Google and I have made sure he has the most up to date version of MSCal (11.0.6650.0) and registered it, using regsvr32 mscal.ocx. I've even made sure he has unregistered and deleted any previous versions. The error message he is getting reads: "Compile Error in Hidden Module: Module 4". This comes up when the calendar is supposed to appear. I have also tried getting the user to register the control in Control Toolbar -> More Controls -> Register Custom Controls but they still get the same error.
View 2 Replies
View Related
Oct 11, 2009
In Sheet1 I have the following horizontal fields:
Cust#
Order#
Order Qty#
Item#
In sheet2 I have the following horizontal fields:
Cust#
CustAddress
CustCity
CustState
CustZip
How can I automatically add the address fields from sheet2 to the appropriate line in sheet one with the matching cust#?
View 11 Replies
View Related
Feb 19, 2014
I have to combine the data from different sheets in a file. I'm attaching a mini version of the file for demonstration. As you can see, there are 6 sheets in the file-a sheet for a different variable. In each sheet, there are around 150 countries in columns and monthly data for that particular variable in rows. I have only put data for few months, but in actual file it has many rows. What I need is data for around 30 countries where in each country I have monthly data for these 6 variables under one roof. I have put one example in last sheet -Sheet1- for one country to demonstrate how i need the data arranged.
View 8 Replies
View Related
May 30, 2007
I have two matrices:
table 1: A B
and
table 2: D E
I need to summarize A where B could be found in D, when E is "alpha".
In SQL this will be like:
SELECT * from table_1 WHERE A=1 AND
(SELECT * FROM table_2 WHERE D=B and E="alpha") IN NOT NULL
View 9 Replies
View Related
Nov 30, 2011
I have two spreadsheets, on that gets generated everyday which is a "fuel transaction report" and another with "captured fuel"
I was wondering if its possible to somehow intergrate it so that it will automatically show me if the "fuel transactions" have entries that does not reflect on the "captured fuel"
This is the fuel transactions report
Unitrans Fuel Transactions Repo BCDEFGHIJKLMNOPRS21REGISTRATION : BH83MGGP VEHICLE DESCRIPTION : HINO 500 1626 LWB F/C C/C 2226/11/2011NESERHOF MOTORSMISMATCH MISMATCH11980DIESEL100.021 009.152324/11/2011NESERHOF
[Code].....
See, I need to cross check the two reports to see if there is any missing fuel from the statement report from the supplier to what is getting captured by my people.
View 3 Replies
View Related
Aug 28, 2008
it seems to be possible to integrate to some extent with the Outlook Tasks function....
Is it possible however to 'update' a given task, and have it linked somehow to my workbook project? (Maybe using some sort of reference?)
View 9 Replies
View Related
Jun 25, 2009
I wish to be able to calculate the % of a particular task that is done in a calender year based on the task start date and duration.
Columns Headings:
A: Start Date
B: Duration (months)
C: End Date (= Start date + (duration * (365/12)))
D: 2009
E: 2010
F: 2011
G: 2012, etc
Examples:
Start Duration End Date 2009 2010 2011 2012 2013 2014 etc
1 Jul 09 12 1 Jul 10 50% 50%
1 Nov 09 12 1 Nov 10 17% 83%
1 Nov 10 36 31 Oct 13 6% 33% 33% 28%
So there are two inputs and the outputs (%'s) are calculated for each year.
View 9 Replies
View Related
Oct 9, 2009
I found this code on this forum for a pop calendar. I created one for my user form, how ever I would like the calenadar to pop up when the user places the curser in the text box, when the user has slected the required date the calendar closes and the date the he/she selected is entered into the text box in which they placed the curser.
My userform is called userform1 and the calendar is called userform3
Private Sub Calendar1_Click()
Range("A1") = Calendar1.Value
Calendar1.Visible = False
End Sub
Private Sub CommandButton1_Click()
Calendar1.Visible = True
End Sub
The above code works on a putting the information into cell A1 and not the text box, also it has a command button action, which I don't want
View 9 Replies
View Related
Jan 7, 2010
In my excel I want to use a calender date such as 05/21/09 and automatically add or subtract a specific number of days. For example: 10 days before 05/21/09....
I dont want to have to count back 10 days and manually enter it. Is there a way to have excel calculate and give me the date in my spreadsheet? i.e. automatically calculate (05/12/09)-(10 days)= 5/11/09. its not too hard when its 10 days, but when its -97 days, it can be very annoying.
View 5 Replies
View Related
Jun 8, 2008
The current code which I did can only pop up a caledar when I click on cell D4. Is there a way I can program it such that, if I click on D5-D7 and E4 - E7, the same calendar will pop out also?
Also, there bug which I found in this code, that if I click on D4 once, the calendar will appear. After I select the date, the calendar dissppear. The bug will occur when i try to click on D4 again, the calendar will not pop up. it will only appear after i click on any other cell, then back to D4.
View 10 Replies
View Related
Feb 26, 2010
I have a Form created using the Control toolbox within Excel... The data is then transfer to another spreadsheet using linked cell within the properties i can then copy and paste into a master spreadsheet...
This form is emailed to an individual who then populates and emails it back to myself... Everything is working fine but now i would like to include a pop out calendar... I have managed to create the calendar but would like it to input the data into a Text Box rather than an active cell... Once this date is put into the active cell i can then mirror this back to the other spreadsheet using linked cell in properties
View 9 Replies
View Related
Sep 7, 2006
how to setup calender object in VBA application
View 4 Replies
View Related
Jun 6, 2009
I have made a cash register in excel with a cell that counts the total of all cash coming in per day whenever you push the button with "payed". I have another sheet where there is a column with all the days of the year. What is the correct syntaxis for transferring the total cash to the cell next to the right date in the other sheet every time i push the "payed" button (am I making any sense...?). And is there a way to reset the total amount back to zero automatically whenever the day changes?
View 5 Replies
View Related
May 21, 2007
I'd like to use a calender ifor this. To start, I did the following:
From Control Toolbox - More Controls - I selected:
Miscrosoft MonthView Control 6.0 (SP4)
This placed a calendar on my worksheet.
What I would like to do is the following
1. Calender Display
1a. When a next button is selected in my wizard it moves to a new form. (Got this done)
1b. The Userform has buttons: "Select Start Date", "Next", and "Cancel" (Got this done)
1c. When user selects date button, this triggers the 'Calender' to display.
Currently, ithe calender is still showing, so I first need to hide it.
It seems to be called "MonthView1" and has the following in the formula bar when Control Toolbox is in edit mode:
=EMBED("MSComCtl2.MonthView.2","")
2. Date selection
2a. User selects a date on the calender. (Easy if calender is displayed)
2b. User selects next button in User Form. (Triggers what follows....)
3. Variable assigned from selection
3a. 'Next' hides the calendar.
3b. 'Next' calls a marco that assigns the date selected from calender to a date variable.
sDate = ???.Value where ???=selected value from calender
3c. 'Next' hides current form and moves on to next in wizard sequence (I can do this)
View 9 Replies
View Related
Jul 2, 2006
I would like to use 52 week calender in my cashflow statement, and was hoping to know what the formula woudl be if i start the sheet with todays date. If i start with 2nd July as the date, i want it to work out the correct number of weeks left in the year.
View 5 Replies
View Related
Sep 10, 2006
I have a spreadsheet with many cells that require a date. I have added calendar control 11.0 and running it with the code below. The problem is, that everytime the sheet is opened, the calendar gradually gets smaller and smaller each time the workbook is opened. I have tried resizing through formatting the object, but after opening the workbook several times, it's has shrunk down to unusable again.
Private Sub Calendar1_Click()
ActiveCell.Value = CDbl(Calendar1.Value)
ActiveCell.NumberFormat = "mm/dd/yy"
ActiveCell.Select
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Application.Intersect(Range("B161:B184,I161:I184,P161: P184,"), Target) Is Nothing Then
Calendar1.Left = Target.Left
Calendar1.Top = Target.Top + Target.Height
Calendar1.Visible = True
' select Today's date in the Calendar
Calendar1.Value = Date
ElseIf Calendar1.Visible Then Calendar1.Visible = False
End If
End Sub
View 3 Replies
View Related
May 18, 2007
I am trying to import outlook calender automaticly using vb. I have found this site http://www.kittytours.org/calendarproject/trouble.html that has the macro ImportCalendarData. I try to run it but I get syntax error at the row
With ActiveSheet.QueryTables.Add(Connection:= Array( _
"OLEDB;Provider=Microsoft.Jet.OLEDB.4.0;Password=" """;User ID=Admin;Data
and a yellow arrow is pointing at the top line(sub impo...)
View 4 Replies
View Related
Nov 13, 2009
I find this difficult to explain, so have attached an example. I need to total all entries on a calender that are entered after a specific date. EG:
If the given date is 15 Sept 08, I need all values in Sept - Mar to be totalled. I am measuring data on numerous spreadsheets, all others have specific start dates and finish dates, so its a simple a1-b1 to get the number of days, multiplied by costs. This particular spreadsheet is laid out in calender format, hence the problem)
View 5 Replies
View Related
Dec 2, 2008
I have a userform (FrmComp) and in it i have several Textboxes. When i click on any of the textboxes the calender appears but how i i make the calender assign the date value selected on it to the last clicked on textbox? here's what i have:
View 2 Replies
View Related
Jul 2, 2008
I have a calendar form opened by a control button on an excel userform. Is there a way of closing the calendar form as soon as a date is selected, leaving the initial form open?
View 4 Replies
View Related
Aug 17, 2006
I have a data sheet where the user puts the date the activity takes place and the place,reason, and staff. What I am trying to do is once the user puts the data on the data sheet, the data is place on the calender sheet for that month and date.
View 9 Replies
View Related
May 14, 2009
Hi Guys, This has been bugging me for a bit now and I just can't sus it...
I have a sample perpetual calender that I have been modifying to fit my own purpose. The calender part works fine.
I have beside that a column for holidays, etc and then a another column for other events.
When I put the date in the holiday or events columns I would like the date to be highlighted in the calender above (different colour depending on which column it came from).
The formula I have been playing with (no success) is:
=MATCH(DATE($R$2,1,C8),$I$41:$I$65,0) - This is the Formula for the 1st column of dates.
The 2nd formula is similar, just changes the column it tries to draw the MATCH(DATE.... from...
Although this formula works fine on the sample spreadsheet. When I enter the formula on my sheet, it doesn't seem to work...
I have attached the spread sheet that I am working on.
View 2 Replies
View Related
Oct 7, 2008
In cell a3 user selects yes or no. Then in cell b3, if they selected yes for a3, a pop up box should appear which asks for a value (1-100), and if they selected no for a3, then b3 automatically becomes zero. How can I do this.
View 9 Replies
View Related
Jan 8, 2010
I have a macro that deletes the row where the active cell is on. Works perfectly.
I want to have my macro display a pop-up box that gives the user the option to either delete or not delete the row.
I would like the question to read . . . Are You Sure You Want To Delete?
View 6 Replies
View Related
Nov 2, 2007
I'm trying to write a code (and I have little to no knowledge of VBA!) so that when a line is inserted onto any worksheet in the workbook a msgbox appears....
Trying to get it myself I created this- it's probably COMPLETELY wrong, like I've mentioned I have little to no knowledge and just using websites/other codes I've seen to put this together... o.O
View 12 Replies
View Related
Oct 6, 2008
Borowed This Code From The Site And Indeed It Comes In Very Handy .....
View 9 Replies
View Related
Nov 3, 2008
How do you create a pop-up box that opens every time a specific worksheet is activated that asks "What was the first month of activity?" The month that is entered needs to populate in Cell "A7". I also want the 11 months following the answer to the above pop up box to populate in cells A8-A18.
View 7 Replies
View Related
Dec 8, 2008
to create a macro that will launch a pop up box once cell B5's value is equal to "3".
I need the pop-up box to say, "You win the game!"
View 10 Replies
View Related