the problem is that i have a user form with a text box in it to put in the date i.e 08/02/07 but when i click the button to add it to the worksheet that has the database it comes out as 02/08/07 is any way to change or will i just have to put the month first rather then the day
I would like to change the data layout from the "Original Table" to the "Final Table" as in attached file. Belinda_June-25-07.xls. How do I use VBA to do the change? In my original table, I may have several hundred rows and more than 36 columns for the time periods.
I am trying to achieve is to get a calendar layout using an array formula. The formula I'm using is from a workbook that I had found on the web and it works perfectly. It was in a general calendar layout when I downloaded it and I have adapted it to run from day 1 - the last day in a month from left to right.
My starting day for each week is Monday (the original workbook used Sunday). The problem though is, when I get to a month that starts on a Sunday, it starts populating from the first Monday, and thus losing the 1st day of that month. I have attached an example.
If a1,a21,a41 have a value greater than 0, I wish to stamp cell b1,b21,b41 and so on with todays date, but without the stamped value changing/advancing tomorrow. At the moment cells b1,b21,b41 are copied down as follows. =if(a1>0,TODAY(),"") This works fine, but the date stamp of course changes tomorrow. I can not apply code to the whole b column as cells b2:b20, b22:40 etc have other non-date format data to which the code does not need to apply - the todays date value cell occurs every 20 cells.
I have data in these two formats 7/13/2014 9:24:14 AM and 07/12/2014 13:02. I want them in Am - PM style. I tried date , there is no format which suits my requirement. The first format in excel is general and other is custom under dd/mm/yyyy hh:mm . I have 23k rows, which I cannot afford to change manually.
I've got dates and times in the format of a text string. each string is always formatted in the exact same way to identify the data and time. As such:
Wed Aug 12 16:39:52 BST 2009 Mon Aug 10 14:39:03 BST 2009 Sat Aug 08 18:01:34 BST 2009
And I want to change them to a date formate that excel can understand, so i can search by month, or by date range. The main crux of the question is how to change that string into a excel understandable date though.
If you want to know, this is for my mobile phone bill. I have excel set up to give me a summery of how many texts I've sent, minuets I've used/have remaining. but i want to filter them by month, so I can see how my usage changes.
FYI I put up this question on another forum, however I'm asking it again here b/c I'm not really getting an informative answer there and this project is due soon. [url]
I'm working on a file right now where dates are in the format "06/01/09" meaning 6 Jan 2009. Or more specifically thats what the data is supposed to mean, however when I change it to word form it appears as June 1 2009. This means dates such as "27/01/09" dont get translated.
How can I fix this? I've tried changing the date format, and I've changed the global settings, yet this isnt working.
In case its relevant, before I pasted this data into the current spreadsheet my global settings were set at month day year, which is what I prefer. But the rest of the office works on DMY so I'm switching to that.
How to have VBA return the value of the following month in mm format (i.e. 08 for August, not 8), based on today's date. As such, today it being the 7th month, I wish to return the value 08 (the 8th month).
I need the URL of
To essentailly be
but the way in which I have posted it above does not work!
Also, I need to define it such that as the month in question (in this example 08) will rename the subsequent part of the URL (here, August). So for example, next month (August), the URL should automatically become
I have 2 Excel Files. In the main file I have a macro that copy/pastes data from the secondary file. The secondary file is a daily file that gets its file name changed every day (eg. 14OCT09.xls).
The last piece of the Macro goes back to the secondary file and ends with:
Windows("14OCT09.xls").activate Range ("A1").Select
Now tomorrow, I have to manually edit the Macro and change the code to 15OCT09.xls before I run the Macro. Is there a way to automatically change this date without having to manually edit it on a daily basis?
When I tried to import data in a CSV file, I ran into a couple of issues when trying to change the date format from MM/DD/YYY to other date format. I've already tried a couple things to no avail:
1. Use text to column functions and change the format from text to MMDDY 2. Use format cell function and change the date format 3. Use the text function (text(Cell,"MM-YY"))
Interestingly when I click on the cell and put my cursor and press backspace, the format will change. It seems like there's an extra space, but using the trim function does not work. I can't do this to thousands of data manually.
if the date is two months under the date it needs to be checked it goes yellow if its over two months before it needs checked it goes green if its passed the date it needs to be checked by it turns red
I have a list with several thousand dates listed like:
19931014 19900724 19910701 19911209
That is, yyyymmdd.
I would like to list it as yymm only. Is there a way to convert it in Excel? I have for a long time been copying and pasting in to Word then doing a search and replace of the first and last two digits, which results in the yymm format I am looking for. A better way would be nice.
I am trying to make a reference to tell me when my rigging gear is due for inspection. I want the cell to change colors when a date is in range. For example i would like a red cell when the item is due or past due for inspection. A yellow cell for when the item is 90 days out from the due date. i have used conditional formating and used =E$-30<=TODAY() and changed cell to red. but when i add another format, for E$-90<=TODAY() for yellow, it will not work.
Once this is solved, i will need to make the entire row change color.
I am trying to automate the status date on worksheet so that if ANY data is changed/ added/ deleted within a range (cells "B6:L34"), the status date will insert today's date in Cell "S6" but if the worksheet is open and no changes occur within that range, the date remains the same. I used this code below and it is not working.
Private Sub Worksheet_Change(ByVal Target As Range) Dim R1 As Range Dim R2 As Range Dim InRange As Boolean Set R1 = Range("S6") Set R2 = Range("B6:L34")
I have a sheet where column A5 to Axx is filled with date from 01. jan to 31.dec. I.E. A5= 01.01.2008 A6= 02.01.2008 A7=03.01.2008 etc etc
Based on comparing the date the sheets collecects data from other sheets. It works fine, but I want the possibility to change the year by entering i.e 2007 in cell A1 and then the sheets change Cell A5 to 01.01.2007. I know i can use replace function manually, but when i want to simulate/compare betwen years it would be very nice to just enter the year and the sheet would collect new data.
I have to create a number of spreadsheets with changing dates / times / both.
This would be a fairly good example:
Add one day + 1 hour for 31 days of a month. "01/01/2014 01:10" "02/01/2014 02:10" "03/01/2014 03:10" "04/01/2014 04:10" "05/01/2014 05:10" "06/01/2014 06:10" "dd/mm/yyyy hh:mm"
The above format is important, and - it has to be in quotes.
Which, if necessary I will manually add using replace, but would prefer not to.
So I may then need to take the first date... lets say 06/12/2013 07:00 then, Add one day + 3 hrs 30 mins.... so as the days roll between 1 to 31 it is obviously going into the 24 hour clock, rolling argument.
And, to top that -
1. the csv then needs to be put into software (I assume it reads the data in the sheet and not the formulas). 2. I can't have extra columns as they would need to be deleted.
I have tried copying down, like a standard auto-fill but it always goes wrong.
I m a newbie at Excel but i have a little work project on my hands which i would like to have an excel document have cells change colour to the date
Today is 05/02/08 cells with the attached date of this should be orange Above this date should be green (e.g 10/02/08) and below this date should be red (e.g 01/01/07)
Also after this problem is solved, the dates that turn orange is it possible to automatically have some sort of message come up saying that "Such as such is expiring" or for the red "Such and such is expired" and would the program/document need to be open for the messages to occur?