Date Picker appears oversized bug - excel

I am using a date picker in excel, that looks like this:
However whenever other users open the same excel file, and click on the drop down arrow, from the date picker, the calendar view looks buggy. More specifically it takes over the whole top of the screen, like in the picture below.
Where is this coming from, and how can I fix it? It's been driving me nuts?

Related

How to select a value from a pop screen and bring back to main screen in excel VBA through Selenium

I have a web form in which I need to enter repetitive data to configure the application and I am writing an excel macro in VBA to achieve this.
Data entry to all fields went well except one field. The field contains a pre-validated list of values, so there are two values SALES and SALES_TAX and when I put SALES, it opens up a pop up screen to select either through image or a radio button to bring the value back to main screen.
I could not able to achieve it and need some help on this please.
Thanks
AM
I am uploading a screenshot and few commands which I tried as below but failed to achieve the desired result,
Sceenshot
driver.FindElementByXPath("//input[#class='xo' and #id= 'N1:N8:0']").Click
driver.FindElementByXPath("//input[#id='N1:N8:0']").Click
driver.Actions.Click ("/SALES")pe here

Visual Basic for Applications Animated text

when I open my excel, macro command run automatically and show "welome".But i want to design it little bit.Is there any way i can change its colour size or text box. below my screen shot. [Its not utmost important but I love to know can i animated this text.]
IMAGE LINK
https://msexcel-analysistabs1.netdna-ssl.com/wp/wp-content/uploads/2013/01/run-a-macro-automatically.png
Are you just calling a standard msgbox in VBA? If so, instead of calling a msgbox, you can create an actual UserForm in Excel VBA. From there, place a label in the "box" and you can format the font in a variety of ways: colors, size, text font, etc.
You cannot do any "fun" animations as far as I know. But you can definitely change the font size and color!
Here is an example (I'm not the most creative person)
You do this under the VBA Project Explorer -> Insert -> Userform. From there you add Labels/Buttons/Whatever objects you would like, and resize the form if you so choose. Then in your module/macro, you call this form instead of using a msgbox.
As far as changing the color and size of the text, Yes, you need to create a UserForm and create the 'Welcome' screen as a custom form instead of using VBA's msgbox.
In VBA, right click on the workbook in the Project Explorer.
Select Insert->UserForm.
Design how you'd like the Welcome screen to display.
In ThisWorkbook's Workbook_Open() sub, put UserForm.Show() to display the custom welcome message when the workbook first opens.
As far as animating said text, Not really. There are some convoluted workarounds using an embedded webbrowser object in order to render a custom animated text javascript file. It is full of 'Potential Risk' notifications for the user and really doesn't look very good. Sorry to burst your bubble :).

Spotfire Calendar Filter

Is there a way I can use calendar filter in Spotfire? I am aware of the range filter, but I want the user to only be able to select one date from a range of dates coming from a table.
it's a little bit advanced and requires some scripting (although code is provided), but a date picker can be used:
http://spotfired.blogspot.ch/2014/05/popup-calendar-webplayer-compatible.html
the result is something like this:
I know this is two years old but I still came across this post and I figured someone else will too.
To get the calendar to filter follow these steps:
Edit the Text Area
Click "Insert Filter"
Click the column from your data that contains dates
Click "Ok"
Once you save, you will have a slider in the text box and two calendars where dates can be picked or you can utilize the slider.
The current version of Spotfire has a calendar date picker built into the filter and data panels (but it is part of the range slider).
You can also insert this filter into a text area if you want a more custom user interface. See below:
Calendar date picker in Spotfire text area

Javascript Calendar popup from ribbon button

Does anyone have any examples of a calendar popup that can be triggered using a ribbon button on a form?
I'm looking to have a popup where the user can select a date from the calendar which will then pass the value back to the javascript that launched it. I've seen that this can be done from a html popup but my efforts to create this so far haven't really been successful, so was hoping someone could advise me on the best solution.
Thanks
I've managed to find a good calendar that I have used for this solution. It can be found at https://github.com/dbushell/Pikaday
With this I put it into a html popup that had a text box on it (which would store the selected date) and had the javascript on my ribbon button show the popup.
The download includes the js files for the calendar to function and with a little tweaking of these you can make the calendar appear immediately on opening of the popup and not hide when a date is selected. Plus the text box can have its options changed so that it isn't visible to the user.
All put together this creates a rather pleasant looking calendar popup
You can use the date parameter type from html without using javascript
<input type=date >

Monotouch dialog DateElement returning wrong date

I have a very strange problem with a Monotouch.Dialog DateElement. To explain what I'm doing:
I have some weight entries for dates stored in a DB. all entries are shown in a TableView.
if I click "add" i go to a DialogViewController with a DateElement and a counterelement - everything works fine.
If I select a row in the tableView i go to the same DialogViewController and i can edit the entry.
If i edit the weight (counterelement) everything is ok but if I edit the date (DateElement) i get a wrong date back.
when editing a weight entry i instanciate the DateElement like this:
dateElement = new DateElement ("Dato",weightObject.Date);
when the save button is clicked I take the new value from "dateElement.DateValue.Date" and this is where things goes wrong. I ALWAYS get a date back that is 1 day less than what I selected.
I know it sounds strange.... but I have tried tracing my way through this and can't find any bug in my code. Anyone else seen something like this?
(if I click the date and go back again without changing it then there is no problem - the problem is only there when i edit the date)
/Nicolaj
I think i found the "bug".
I'm only interested in the date - not the hours, so when i save the date I take the value like this from the dateelement:
"dateElement.DateValue.Date"
Later, when I want to edit the date I assign for ex "2012-03-18 00:00:00" to the date element.
When i get that value back it have been converted from CET to UTC somehow which means that i get the previous date :-(
So I guess i have to convert back to local time
Converting back to Local time would be done with:
dateElement.DateValue.ToLocalTime()

Resources