Excel Reverses Dates When Opening CSVs?

Nov 25, 2013

I'm having a problem with importing CSV files into Excel. My CSVs contain dates formatted Canadian style, dd/mm/yyyy. However, when some users open these files, Excel interprets the date as mm/dd/yyyy. (So the text string "01/09/2013", which should mean Sep 1 2013, becomes Jan 9 2013. The string "16/09/13" isn't recognized by Excel as a date at all.)

The annoying thing is that only some users have this problem. I've checked their Region and Language settings in the Control Panel and they're correctly set to English (Canada). I've also gone over their Excel preferences and couldn't find anything that seemed different from mine (or anything related to date formats at all, really).

I can work around by using the Import From Text option in the Data menu, but the users involved aren't techies and they need to open CSVs fairly often, so I'd prefer to streamline the process.

View 1 Replies


ADVERTISEMENT

Sort Macro Reverses When Anything Changed / Added To List

May 13, 2013

I used the "record macro" to record a simple sorting (high to low) of columns A-F based on values (0-3) in column A. Everything works when I initially institute the macro. However, when I change anything or add a new item at the end of the list, the order reverses and sorting goes from lowest to highest.?

Here is what ended up in the macro:

Code:
Sub SortColumnA()
' SortColumnA Macro
ActiveWorkbook.Worksheets("Sheet1").Sort.SortFields.Clear

[Code]....

I noticed that it only includes a fixed value for the length of the list (row 90). Is there a way to have it increase when anything new is added?

As of now I plan on just making an arbitrary large index (~200 ish) to automatically grab anything new.

View 1 Replies View Related

Excel 2010 :: Dates As Headers In Table Not Recognized As Dates For Charting?

Nov 8, 2012

I'm trying to make a simple chart, which maps the value of an investment fund over time. I wanted to use the new 'Table' feature within Excel 2010 to format and maintain the formulae within the Table, and the 'Header' for the table contains the date, which is not at regular intervals.

If I opt not to use the Table feature, I can create a line-chart with ease, and Excel recognises that the Dates are indeed dates and plots the graph correctly. The minute I convert over to a Table, the Date headers are no longer recognised as dates, and are instead plotted as if they were text, at regular intervals.

I've tried multiplying the Date Headers by 1 to force them back to true Dates, but this still does not work. I've also changed the setting on the horizontal axis to Date axis rather than automatic, but still no joy.

View 1 Replies View Related

Excel 2007 :: Unable To Convert Text Dates To System Dates

Oct 21, 2011

I am in strange situation where I have a data with Invoice Dates. These dates are in Text. However, when I convert it into reall excel dates. For some reason the dates do not come right. convert my text dates into excel real dates. I did a lot of google search and apply these three methods but all of these gave me strange result I was not expecting. These are the methods I used and the result of each method.

Method 1 : Using Text to Column Wizard (Excel 2007)

I highlighted invoice column and went into text to column wizard. I clikced on Date button, and selected MDY format. Strangely enough, my result was day, month and year i.e. DMY which does not seem right.

Then I press Control ~ on this data as shown in second view.

Inv DateMDY09/22/1122/09/201108/31/1131/08/201108/31/1131/08/201108/31/1131/08/201108/31/1131/08/2011

control ~ (overview)

Inv DateMDY09/22/114080808/31/114078608/31/114078608/31/114078608/31/1140786

2nd Method - Using formula to convert text date to real dates When I used formula, I get the following result. As you can see, formula is converting text dates into different system dates than the first method.Further strange things is when I take these system dates i.e. 4283 and in 2007 excel format use "Short Date" the same system date gets converted into wrong year as shown in the second view.

Inv DateFormulaFormula Result09/22/11=DATE(MID(B2,7,2),MID(B2,1,2),MID(B2,4,2))428308/31/11=DATE(MID(B3,7,2),MID(B3,1,2),MID(B3,4,2))426108/31/11=DATE(MID(B4,7,2),MID(B4,1,2),MID(B4,4,2))426108/31/11=DATE(MID(B5,7,2),MID(B5,1,2),MID(B5,4,2))426108/31/11=DATE(MID(B6,7,2),MID(B6,1,2),MID(B6,4,2))426108/31/11=DATE(MID(B7,7,2),MID(B7,1,2),MID(B7,4,2))4261

2nd view - system dates are getting converted into 1911

Inv DateFormulaFormula Result09/22/11428322/09/191108/31/11426131/08/191108/31/11426131/08/191108/31/11426131/08/191108/31/11426131/08/191108/31/11426131/08/1911

Similarly, I tried other methods or copying blanks etch but none seems to convert text dates into real (system dates).

View 4 Replies View Related

Subtract Dates And Find Time Taken From Opening And Closing Time

Jul 31, 2014

So I have two dates:

Opening Date: 29/07/2014 13:27

Closing Date: 29/07/2014 14:42

These are formatted in DD/MM/YYYY and HH/MM

I need to subtract the dates and find the time taken from the opening and closing time.

View 3 Replies View Related

Opening Word Doc From Within Excel Using VBA

Aug 22, 2013

I have a database list, and run a bunch of formatting, inserting, formulas etc., to be able to have a Word Mail Merge be able to run against the data when finished. I'm automating the process and want to be able to open the Word document when the Excel piece is done, so the user doesn't have to navigate to the file manually.

Since Excel doesn't seem to automatically 'see' Word docs in the Open File dialog list, my Open File code below is getting an error of "File Format is Not Valid":

ChDir "O:UAIBDCustomer RelationsIDHome Office Indexing"
Workbooks.Open Filename:= _
"O:UAIBDCustomer RelationsIDHome Office IndexingID Home Office Indexing Mail Merge Template TESTING.docx"

View 6 Replies View Related

Opening OpenOffice Spreadsheet In Excel?

Mar 22, 2013

Is it possible to open an OpenOffice spreadsheet in Excel while keeping all formulas?

At the minute when I try this, Excel just opens the spreadsheet with the values of each cell from OpenOffice (the results of the formulas) and not the actual formulas themselves.

View 1 Replies View Related

Excel 2008 :: Opening Asp Files?

Nov 7, 2013

I have Mac 2008 Excel. For my work, I download .asp files and open them in Excel. No problem. The problem is... I'm wanting to use another computer at work that has Mac 2011. When I open the exact same .asp files, they show coding (html?). I can fix this by changing the name of the file extension from ".asp" to ".xls." But I convert these files a lot during the day and this is an extra step I don't want to take. And it works fine in version 2008. So what can I do in version 2011 to make it open the files without all the coding?

View 2 Replies View Related

Opening TXT Files In Same Excel Sheet

Jul 30, 2014

I would like to be able to open multiple .txt files into one excel document. I had been using a code that opened all the files I wanted into a NEW excel document. I have a template that I use and I want the files to open in sheets following the main template sheet. This is what I have been using:

Sub CombineTextFiles()
Dim FilesToOpen
Dim x As Integer

[Code]...

And it worked just fine for that purpose but how could I edit this?

how I could use VBA to make a table out of data that would be cool too.

View 3 Replies View Related

Random UserForm When Opening Excel

Apr 24, 2009

I have 2 UserForms at the moment. They only serve as a sort of welcome screen when you open the xls file. I have this code to open the Userform.

View 14 Replies View Related

Making AutoRun CD Opening Excel?

Mar 5, 2003

How to make a CD AutoRun an excel page? I know you can do this with a few different formats but I'm not having any luck with it working on an Excel file.

View 4 Replies View Related

Opening External Files In Excel?

May 5, 2014

I have a drawing index in excel sheet as shown below "there are thousands rows but here is only an example":

FILEID
TITLE

brd213962-1-1.pdf
SPECIAL PIPE SUPPORT DRAWING

brd213962-2-1.pdf
SPECIAL PIPE SUPPORT DRAWING

brd213962-3-1.pdf
SPECIAL PIPE SUPPORT DRAWING

brd213962-4-1.pdf
SPECIAL PIPE SUPPORT DRAWING

brd213962-5-1.pdf
SPECIAL PIPE SUPPORT DRAWING

And in the same folder I have all the drawings in PDF format and all the drawing are exactly named as listed under FILEID column.

I just want to click the drawing number in the excel sheet and get the drawing opened automatically.

Currently what I am doing is searching the index for a particular drawing and then searching the folder for that drawing to open.

View 1 Replies View Related

Excel Files Opening As Different/new File

Jan 12, 2010

I'm using Excel 2007. I didn't change a single option but for some reason this problem came up. When I open an already saved Excel file it opens up in a newly created file. For example, if I open a file saved as "Monthly Sales" it will open it up and rename it as "Monthly Sales1." When I go to save it again, which would normally just save it where it currently sits, it basically acts as if I hit Save As and pops up the box asking me where I want to save it. This is extremely annoying as most of the places where these files are saved are several folders deep which makes it time consuming every time I open and alter a file. I can't find any options that looks something like this and it only happens in Excel.

View 9 Replies View Related

Display Text When Opening Excel Using Vba

Feb 13, 2010

I want that when i open the workbook i created, it will display a text that seems to look or has an effect that looks like the excel type itself that words on the spreadsheet..Example the text will display in cell D10... i hope i am clear enough... this is the text i want to display upon opening... "THE PROGRAM YOU ARE USING IS UNDER THE LICENSED OF VTA STRUCTURAL COMPANY, THEREFORE ANY ILLEGAL PRODUCTION IS PROHIBITED".

View 9 Replies View Related

Excel 2010 :: Read CSV Files Without Opening?

Oct 23, 2012

Is there a way of reading .csv files and copying the data from say Sheet1 without actually opening the file itself? I have .csv's that will take some time to open due to size so dont really want to open them, but want to copy the data from all of them within a specific folder.

I am running windows 7 x64 and office 2010 x64.

View 5 Replies View Related

How To Save Excel Cell Value Using Today On Opening Next Day

Jan 28, 2014

I have a cell using formula

IF(TRUNC(B1)=TRUNC(TODAY()),VLOOKUP(Sheet1!A2,Sheet2!A:D,4,FALSE),"novalue")

Wherein I compare cell B1 containg a date value with current system date and if it is true i lookup a value from another sheet.

My problem is next day when i open the excel the previous days value is getting erased as my if logic is returning false.

Is there any way to freeze my previous days value while opening the excel the next day

day 27 i have this value
drugcode27-01-201428-01-201429-01-2014
AA0011

day 28 when i open the excel it shows'
drugcode27-01-201428-01-201429-01-2014
AA001novalue1

I want to freeze the value under date 27-01-2014

View 7 Replies View Related

Opening Excel Files - Getting Blank Screen

Apr 29, 2014

When I attempt to open a file I get a blank screen. If I try to close the window it asks if I want to save the file so it is must be open but not visible. Have I inadvertently clicked on an icon with which I am not familiar?

View 1 Replies View Related

Excel No Longer Opening CSV Files Correctly

Feb 7, 2013

All of the sudden, I've started having issues on one PC with Excel opening CSV files.

I work with these files every day and they work on other computers.

The problem is that if the field value starts with a dash, Excel will not show any records before that. Meaning, if there is a record on line 50000 that starts with a dash, it will not show the previous 49000 records.

I can open the file in Notepad++ and find all '- and replace it with ' and it will work fine. But I have hundreds of files.

This just started. I'm using using Office 2010 x64. I'm tempted to get Office 2013 to see if this will resolve it as something has obviously went wrong.

In the past, I would open the CSV files just like any Excel file and NEVER any issues. I would do this with multiple files each day but even the file that I use to not have issues with in the past is now an issue if it has a dash in a field.

View 9 Replies View Related

Excel 2010 :: Error In Shell During Opening PDF

Feb 25, 2014

I'm using excel 2010 and pdf creator to make a pdf (and open it automatically). It works with the following code:

[Code] .....

path and filename are previously defined objects.

I'm using pdfcreator because the code also has to be used with excel2003 on another pc. The problem is that I get an error (probably for trying to open the newly creating pdf-file).

Error 2417024894 (80070002) during execution. Method run of Object IWshSell 3 failed.

View 2 Replies View Related

Finding And Opening Most Recent Excel Workbook In VBA

May 12, 2012

In a folder called "C:myworkbooks" I have books like

John Smith_001.xls
John Smith_002.xls
John Smith_003.xls

Using only "John Smith" as an initial search parameter in need to find and open the most recently created book.

View 7 Replies View Related

Excel 2010 :: Keeps Opening Old Version Of File?

Dec 21, 2012

I have a file that is on a server. When I open it on my excel it opens an old version of it and not the newest copy. If I open it on a coworkers computer, it does open the correct newer version. How do I change this?

View 4 Replies View Related

Excel 2007 :: Add-in Not Loading When Opening File

Jun 10, 2013

I have an excel add-in which is a ribbon which houses a great deal of financial tools that I use on a regular basis so I don't have to hunt around excel for things I use regularly. The add-in has always loaded automatically whenever I opened excel - whether I opened excel by creating a new blank document or by double clicking a previously existing file.

Starting a few days ago though, the add-in only opens when opening excel by creating a new blank file. I can't think of anything that changed recently. Using Excel 2007.

Even when opening a file by double clicking, Excel still says the add-in is active (in excel options).

View 5 Replies View Related

Excel 2013 :: Opening Large (1-3gb) XML Files

Sep 9, 2013

I received a few 1-3gb xml files from the government and I would like to open them in an Excel format. I have tried opening them using Excel 2013 (both as an xml table and as a read only workbook) with a machine running 8gb RAM and a 3.4 ghz i5 processor. I left it running overnight but Excel continues to "not respond". The file is intended to display thousands of line items with around 40-50 columns of data. For previous (and much smaller) similar files, the saved workbook is a manageable file. The only hurdle here is getting these open.

View 5 Replies View Related

Default Excel File Type When Opening?

Mar 21, 2014

is it possible to change the settings on your computer so that when you open Excel, it opens it as a certain type of file? I like working with .xlsb because I work with large sets of data all of the time and find that they open faster and are faster to work with. Currently every time I open Excel, it opens as .xlsx.

View 1 Replies View Related

Opening Two Excel Files & Copying A Range From Both

Aug 17, 2009

I have a workbook "revision.xls" i have two excel workbooks "A.xls" and "B.xls" in a folder ( revision ) in my desktop. the location of this folder is " C:Documents and SettingskrishnaDesktop evision )

Both the excel files inside this folder ( "A.xls" and "B.xls" ) have columns B to F in each of them filled with some data.

The no.of rows upto which the data is filled in these two files can vary.

What i want is a macro which can open both these files automatically and can copy the contents in column B to L in both these excel files into revision.xls in such a way that the column B TO L of the excel file alphabetically first in the folder has to be copied to A to K column of revision.xls then after leaving one column blank i.e leaving L blank column ,the column B TO L of the excel file alphabetically 2nd in the folder has to be copied to M to W column of revision.xls.

View 9 Replies View Related

Closing And Re-opening The Same File In Excel On-click Method

Oct 15, 2008

I was wondering if there is any code using an on-click method. When clicking a button i need excel to exit the file/sheet without saving (no prompts) and then re-open the exact same file/sheet once it has closed.

In a way this is like a refresh button.

View 14 Replies View Related

Excel Opens Multiple Workbooks When Opening Any Workbook?

Jan 27, 2005

The same two workbooks open when I open any other workbook. They also open up when I open Excel by itself.

View 9 Replies View Related

VBA - Error Opening Excel Document When Rerunning Macro

Nov 21, 2012

I am basically using a combobox in word that opens an excel spreadsheet and pulls information about the people entered in the combobox. The information pulled from excel is then pasted into the original word document.

The problem that I am having is that the macro may be needed to run twice (ex. suppose the user forgot to include an individual in the first run) and on the second run the excel document cannot be opened and it gets stuck on the loop. The macro will only work again if the word document is closed and reopend. I suspect that the excel document is not completly closing on the first runthrough.

I've included my code below. The initialize combobox code is on the bottom. I

PHP Code:

Dim WordApp As Word.ApplicationDim xlApp As Excel.Application
'Dim xlWB As Excel.WorkbookPrivate Sub CommandButton1_Click()Bios 
= ActiveWorkbook.NameNewWBookName 
= ActiveWindow.CaptionSet WrdDoc 
= ActiveDocumentlastrow = Range("A1").End(xlDown).RowS

[Code]....

View 2 Replies View Related

Opening File Causes: Excel Has Encountered A Problem And Needs To Close

May 23, 2008

I am trying to open an Excel file that was emailed to me in zipped file that requires macros. When it asks me if I want to enable macros it gives me an error and will not open. Is there a setting I need to change?

View 5 Replies View Related

Excel 2013 :: Saving / Opening Workbook With Multiple Windows

Aug 7, 2013

With excel 2013 you're now able to open multiple windows or views of the same workbook. However when a workbook is saved with multiple windows open, the next user to open the spreadsheet will also open it with multiple windows. Which can be very annoying when most people work off of one window vs. multiple. Is there a way to disable saving the multiple windows or a macro to force open excel in 1 window?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved