I have not had time to explore the forums yet, but because it handles some books in excel Of course, if you can achieve what I need. I want the cell A1 have within two dates, so far I have something like this:
=TODAY()
-
=TODAY()+4
for example, a cell may be it; 14/01/14-18/01/14
The hyphen it can be anything. i don't want to work with the date every time i work with book.
Attached is what I use as a Calendar Macro and it works great for single active cell use.
I have a column for 'Notes' and I can only use 1 cell per item so every time I have an update about a specific item I go the to notes section and put a date and leave few spaces then type in whatever the notes are. Currently I'm doing it manually and I tried to use my macro on the Notes column and what it does is to remove everything in the cell and replace it with whatever date I choose in the calendar.
find a way to use my current Calendar Macro to add a date in the cell instead replacing everything in the cell with a date.
I am looking for help. Sheet1 B1:1 has dates in each column in ascending order for one month. There are missing dates in between the days and they might look like this.
Example 1
7/1/20097/2/20097/6/20097/7/2009
Is there a code that will insert columns with the missing dates between the dates that already exist so that example 1 would become example 2?
I need to insert blank row/s between the missing dates and fill the missing date & corresponding employees name. Let me explain in detail,
I have a start date in Cell E1 and end date in Cell G1. Need a macro to verify the date range in Col A with these start & end dates and insert blank row for missing date corresponding to employee names in Col B. This should be repeat till last used row of the sheet. Attached sample(Before&After) workbook.
Both missing date and respective names to be filled in the newly inserted rows.
I have an issue with a userform that needs to pull and insert dates.
This hinges on several formulas and pivot tables plus eventually gets imported into access so my needs as shows will not be all that flexible.
this needs to be input as "05/01/2012" but read as "MAY", the userform needs to display the date in a method that makes sense to my temp/seasonal users (mmmm format preferred) but needs to be in the cell as mm/dd/yyyy so the formulas and pivot tables can make properly read them. I have been trying this for months and it seems i can get all the parts working independant but not all at once.
The default reads fine and it inputs fine but the drop down has excel date codes (40156, 40187, etc) The default is fine and inputs the date AS "mmmm" format but cant be read by the forumalas or access.
I am open to examples like making the combo box populate another textbox or field on the form but haven't gotten that to work yet either. Example files and picture in the link [URL] .......
I have a sequence(or a series is more proper) of dates(without the hours) for. exapmple: 10/22/2007,1025/2007,10/25/2007. What I need is to insert rows with the missing dates. I found a VBE code for a macro which does the work but now the problem is that in some rows the dates are the same and if I have two times 10/25/2007 it adds the row with the next date after the first one and all messes up.
Range("A2").Select Do Until ActiveCell.Value = Empty If ActiveCell.Value = ActiveCell.Offset(-1, 0).Value + 1 Then ActiveCell.Offset(1, 0).Select Else ActiveCell.EntireRow.Insert ActiveCell.Value = ActiveCell.Offset(-1, 0).Value + 1 ActiveCell.Offset(1, 0).Select End If Loop
I need to insert blank row/s between the missing dates. Let me explain in detail,
I have a start date in Cell B1 and end date in Cell D1. Need a macro to verify the date range in Col B with these start & end dates and insert blank row for missing date corresponding to employee names in Col A. This should be repeat till last used row of the sheet.
I have a master data sheet with four columns, A, B, C and D
Column A has the primary data and B,C,D has dependent data values;
So when I insert a new cell in Column A with cells Shift Down, I want mandatorily new cells to be inserted in the same row in col B, C and D as well so that data integrity is maintained;
I have tried many different ways of coming up with a solution of this problem without writing a VBA program, however, Excel's date and time formatting scheme seem to be tripping me up. As a result, I am trying to figure out what direction to go.
I have seached the board up and down looking for a solution and I have found one problem that is midly similar but I do not fully understand the code. I have tried to modify it but to no avail.
Here is my problem:
I have 9 columns of data that are reported in 15 minute intervals for a little over 3 years. There are missing data in the data set and it would be infeasable for me to manually find and replace the missing data. (Over 110000 rows of data)
Example of data (Where "/" delienates column seperation):
Date / Temp 2m / Temp 10 m / Radiation / RH / WindAve / WindMax / WindMin / Rain
So what I need to do is this: 1) Find which data times are missing 2) Add the appropriate amount of rows in between where the missing data would be 3) Add the correct dates to the new rows 4) Add "N/A" to the columns that have no data
You can see that my date and time are formatted in mm/dd/yy hh:mm
I found this on the website and was trying to modify it to my needs:
I'm trying to create an excel worksheet as follows:
Column1 Column2 Column3 Column4 Column5 Date Time In Time Out Hours Worked Pay 01/03/2000 01/04/2000 01/05/2000 . . 11/11/2008
I want to insert in the first column (Column1) dates starting from 01/01/2000 all the way up to today, 11/11/2008. So I would end up with a unique date on each row. To accomplish this manually would be a daunting task. I'm a newbie to excel and don't know how to use any in-built functions.
I have created a time sheet in excel (see attached) that will be part of the larger workbook that will be linked with other sheets to auto fill in most fields. I am wondering if there is a way for an user to enter a Month and a Year at the top of the page and that in turn automatically fills in the days of the month by week.
So in attached sheet there are 5 boxes representing 5 weeks in a month. So if we used May 2014 as an example I would like to know if there is a way that once May 2014 is entered in up to top that. Excel fills in the dates in Week #1 with under Thursday showing 1st, under Friday showing 2nd as on for the entire month...
So as the month go by all user has to do is state the month and year and excel fills in the weekly dates for each day in month.
I am trying to auto generate a calendar based on two drop down menus - Month and Year.
Once the month and year is selected I want to import all work orders onto the calendar based first on the "Labor Name" found in the list of work tab, then assign each work order for that labor name to the respective date on the calendar for the month.
There's got to be a way to do this (mail merge style perhaps...) I would like to insert the entry/ies under a heading in a table in one worksheet whenever that heading matches the data entered in a separate worksheet.
I have a file name typed into cell C3. I want the formula in cell C4 (C5,C6,C7......) to include the name of the file typed into cell C3. The formula in cell C5 shows what the content should look like.
I want the users to be able to type the file name in Row 3 (C3,D3,E3.......) and have the formulas below them insert the file name and access the information from the files (yes the files can/will be open when we do this).
I need to to have at least twenty different formulas (rows) referencing specific cells in these files.
The formulas would look like this ='["File name from C3"]Audit Information'!$D$35.
I am hoping it may only be a syntax thing and someone here can "show me the way" I have tried &$C$3& with and without quotations with no luck.
I've got some data that I need to write into database which is listed in Excel. For each row I want to do something like this: Let's say we are in 7th row INSERT INTO someTable(colA, colB) values(A7, B7) where colC='C7' (I want to have it in next cell and then copy it to SQL Management Studio)
I am trying to build a vba macro that will do a few things.
1. Cut the text from the row I am working on in column A before the word "ACTION:" 2. Insert the text cut from that row into Column B. Now, the same row in column B will probably already have text in it I want to keep. So the macro needs to insert a line to push the old text down a line and then insert the cut text. 3. Make the older text's font in that row smaller, like size 5. 4. Back in column A insert today's date and leave the cursor there to begin typing notes for today.
I also need the text starting at the word "ACTION:" to remain bold.
How to insert the text into B. I know this just copies over it.
Code: Sub CopySubstring() Dim Numchars As Long, s As String Numchars = InStr(1, Range("A1"), "ACTION:", vbTextCompare) If Numchars 0 Then cText = Left(Range("A1"), Numchars - 1) Range("B1").Value = cText
End If End Sub
I have a same spreadsheet that shows a sample with the expected outcome after the macro is run here: [URL] ........
I have a macro that inserts a sum at F27 (I also have sums at G27 & H27) prints the worksheet and then after printing clears the contents of F27.
If I was to add in a row and then run this macro of course the sum appears at F27 and my other two sums at now G28 & H28.
My question is there a way that when the "F27" sum is inserted it is somehow tied to the position of the G27 & H27 cells so that all 3 sums will be on the same row.