Turn Auto-Date Feature Off Possible
Aug 9, 2007
I am working w/ values that are interpreted as dates by Excel. The issue is that as I change it through code and have it displayed as I need it, I have to move it around to other locations w/in current sheet or to other sheets it gets reformatted to a date or serial number.
way to disable this feature as akin to turning off auto-correct feature. But have not found any method to do so. Can this be done in code?
View 9 Replies
ADVERTISEMENT
Oct 15, 2007
I am using the following coding on my s/sheet at the moment...
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim r As Range
Application.EnableEvents = False
For Each r In Target
If Trim(Len(r.Value)) = 1 Then r.Value = UCase(r.Value)
Next
Application.EnableEvents = True
If Selection.Count = 1 Then
If Target.Row > 3 And Target.Column > 14 And Target.Column < 19 And Target.Value = "Y" Then
MY_LINK = InputBox("As you have entered 'Y' into this cell, please provide a link to the document. If there are no documents available for linking, please click cancel and change the value of the cell to 'N'.", "Document Link Request")
ActiveSheet.Hyperlinks.Add Anchor:=Range(Target.Address), Address:=MY_LINK
End If
End If
End Sub
The top code is to change all singular small letters to caps... and the second is to bring up an "enter hyperlink" box when "Y" is typed into a particular cell...
Can anyone edit this 2nd code to include a "browse" button, so that when entering the hyperlink, it can be to a file on the computer?
View 9 Replies
View Related
Jun 1, 2007
I found this code for an auto-complete function from this website: [url]
It works well, but see the web example before using it. You have to name a range MyList with your potential values for it to work.
Currently, you have to click the drop-down arrows to see the potential entries. I want to make it so that after the user enters the first 3 characters it will automatically "drop-down" and show the potential entries. This will save a trip to the mouse and let the user see whether their entry is in the system.
Option Explicit
Dim i As Long
Sub KeyEventOn()
For i = 65 To 90
Application.OnKey "{" & i & "}", "'MyValidation """ & i & """'"
Next
End Sub
View 4 Replies
View Related
Nov 16, 2005
In the Date function if you take 31/03/2007 and add 1 month to it:
=DATE(YEAR(ref),MONTH(ref)+1,DAY(ref))
you get 01/05/2007, which really isn't 1 month later. Bug or feature?
View 10 Replies
View Related
Apr 19, 2007
What line of code would I need to used to turn off the auto-calc upon opening a workbook?
View 9 Replies
View Related
Feb 26, 2009
i can place a tick box on a worksheet that will turn auto calc on/off? The same exact as going through the tools menu but for a lazy person?
View 2 Replies
View Related
Jul 5, 2012
is it possible to have a VB macro that will turn a number to a date?
For example the numbers are like 21021967 that need to be turned into 21/02/1967
View 3 Replies
View Related
Jul 27, 2012
My goal is to have a macro run when my workbook is opened to turn particular worksheet tabs red depending is a date is previous to the current date.
Example,
I have 5 sheets. One of those sheets states and end date of 26-Jul-2012. Today is 27-Jul-2012, therefore, from this time forward the tab should be in red.
View 3 Replies
View Related
Sep 15, 2009
I have worked out the conditional formatting but i have a question. The cell has a date which is input manually - no formulas or anything
it reads 14/09/09. however can i have the cell automattically turn red once the date =NOW() is the 15th sept??
View 4 Replies
View Related
Nov 6, 2009
I have a workbook which is set up to take an average heart rate of a participant from a series of data points. I have set the spreadsheet up before I have collected some of the data. (so I can review the project at the 3 months period and its an ongoing project).
The problem is that if there is no data in a participants column then excel correctly gives you readout of “#DIV//0!”. On my results page this #DIV//0!” makes it hard to read the spreadsheet. Is it possible to get excel to turn #DIV//0!” to “0” or even turn it to a blank cell?
View 5 Replies
View Related
May 25, 2014
I am now trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
View 1 Replies
View Related
May 26, 2014
i am trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
View 4 Replies
View Related
Dec 10, 2008
can I set a cell in excel so that if a number in a different cell is above a certain number it will turn green and another cell to turn red. I have attached the file.
View 4 Replies
View Related
May 22, 2009
I just want to know if there is anyway to disable the help feature in Microsoft Excel?
I have to administer some exams.
View 9 Replies
View Related
Jun 10, 2006
Here is what I am looking for:
I have several groups of data separated by a couple of blank lines. For each group of data I would like to sum the rows in column F. I do not want to use the subtotal feature but rather the autosum feature for each section. It is important that the formula is actually entered so if I add additional rows of data the formula will keep calculating. So at the end of each data the formula is as follows =sum()
View 5 Replies
View Related
Jun 20, 2006
Does VB have the WEEKNUM feature ?, I can use WEEKNUM in an Excel sheet ok, but it is not recognised in VB ... I have installed both the Analysis tool packs, the one for VB as well.
View 8 Replies
View Related
May 31, 2013
I want to use the "linked image" feature.This works well but when I don't know how to use it with a named cell (ie : "=$A$1:abcd" where abcd is a cell that I named).
View 2 Replies
View Related
Sep 15, 2008
I am using Excel 2002 in Window XP. I have a spreadsheet that with a list of names, dates and scores. The names occur mutiple times. I have created a pivot table, however, I need to list the top 5 dates for each name with the associated score. The subtotal per name is the average of those scores.
My rows are Name and Date. Score is the column. When I use the Advanced Field options and activate the Top 10 options for the date field and change it to 5, the result is the top 5 scores instead of the top 5 dates with the associated scores.
View 9 Replies
View Related
Sep 13, 2007
I cannot get the UNDO feature to work.
View 9 Replies
View Related
Mar 13, 2009
i'm trying to remove duplicates from a worksheet containing customer contact info. the sheet has 9 columns with headings, and the duplicates appear in the last name and phone number column. (the sheet contains no outlines/groups/subtotals.)
i want to remove entries that contain the same last name AND phone number, however when i go to DATA>DATA TOOLS>REMOVE DUPLICATES, and specify the columns i want to remove duplicates from, it keeps deleting an entry that has the same last name, but not the same phone number.
i even tried removing duplicates from only the phone number column, and it still removes the phone number for the entry that has a duplicated last name, even though the phone numbers are different.
View 3 Replies
View Related
Dec 15, 2012
Is there a way to use the =SUM(--:--) feature, but to bypass any cells that contain text instead of numbers that are in the range?
I'm currently using this formula:
=SUM(N(I31)+N(L31)+N(O31)+N(R31)+N(U31)+N(X31)+N(AA31)+N(AD31))
...to only add up the number cells, as next to each cell, there is a column that has text (the reason for the "N(--:--)" is because depending on criteria, some of these cells print blank).
I just added 50 more columns that need to be added to the formula listed above and I will need to repeat this a dozen times. It will be much easier (and tidier) to be able to do something like this:
=SUM(N(I31:CL31)EXCLUDING CELLS THAT CONTAIN TEXT.
View 4 Replies
View Related
Nov 17, 2006
How do you cancel a find and replace once it kicks off.
Sometimes u make this mistake and have to click cancel 2000 times.
View 9 Replies
View Related
Jul 13, 2007
How can I add somekind of (auto)search feature to a CommandButton?
So when I click CommandButtonA I get transfered to the first keyword (content) in Column A starting with the letter: A (or: a)
Private Sub CommandButtonA_Click()
' When you click on CommandButtonA goto firts keyword in Column A starting with A (or: a)
' When you click on CommandButtonB goto firts keyword in Column A starting with B (or: b)
' etc, etc, etc.
End Sub
View 9 Replies
View Related
Nov 2, 2006
I want to use the Camera facility to show a 13 column by 19 row section of a large report in another WorkBook. I have outlined the area I need copied .... clicked the Camera icon .....but when I enter the data in the receiving sheet I keep getting the message ...." The Picture is too large and will be truncated" Is there a maximum size that can be transferred
View 2 Replies
View Related
Jul 22, 2009
I'd like to know how to have the comment feature without the red triange on cells with comments. I didn't want to use data validation comments because I want the hover feature.
View 5 Replies
View Related
Dec 18, 2009
Looking to write a macro which includes a prompt to the user for use in Excel 2007.
Specifics....Have a workbook including many worksheets with a common layout. Would like to write a macro to copy specific defined ranges from one worksheet to another but within the macro it would prompt the user to type in the worksheet name to copy the ranges from.
Example....User is at worksheet C in the file containing worksheets A, B, C, and D. User starts the macro and a prompt comes up for the user to input the worksheet name to source the ranges from (in this example A). User types in "A" in a dialog box and the macros copy/pastes the contents from range B4:B35 and Z2:z20 from worksheet A into those same ranges in worksheet C.
View 5 Replies
View Related
May 1, 2014
If i use text to columns using comma as a separator, it does not give me the desired results when I have a text like "FAIRFIELD I&S - E PEORIA, IL". I want this display as "FAIRFIELD I&S - E PEORIA, IL". But if i use this feature, I get "FAIRFIELD I&S - E PEORIA" in one column and "IL" in another column. Ideally I want it to show "FAIRFIELD I&S - E PEORIA, IL" in a single column.
View 1 Replies
View Related
Oct 18, 2011
Still adjusting to 2010 Excel...How do you use the automatic fill in feature of formulas; e.g. when typing =convert....a fx function appears....not sure how to use it
View 2 Replies
View Related
Sep 14, 2013
I was able to create a conditional format that does the following:
if any cell in C column is changed, it checks G column...if the time in G column is within two hours of the current time, it highlights in yellow A column (in that corresponding row). The formula that got this working is:
Code:
=AND(MOD(NOW(),1)>= $G1-"02:00",MOD(NOW(),1)
View 2 Replies
View Related
May 22, 2008
Is it possible that when I type data into Cell A1, the date will automatically appear next to it in cell B1? I want this down the column.
the date has to be static. I tried this =if(isempty(a1),"",today()). This works but teh date changes everyday to reflect the current date.
View 9 Replies
View Related