Referencing To CSV File In Strange Format

Oct 21, 2009

I am working on an excel dashboard to display life information about energy consumption.

there is currently a bespoke syatem which does this but we need the dashboard to be changed so the job has fallen to me.

Energy usage across the site is recorded in a spreadsheet (automatically) every half an hour and is saved in a folder named CSV data, however the files are saved in a format which i assume is something for the current package: *.ew7

I can open and view the data by clicking "open as" and selecting excel.

I can reference to this data from another excel spreadsheet (dashboard) whilst they are both open it will update.

However when i close all spreadsheets and open just the dashboard it tells me that the links cannot be updated.

I need a solution or a way around this so i can reference from one workbook to another.

Has anyone had any experience of this kind of thing? can anyone offer a humble analyst a bit of advice?

I was not able to attach the file here (as its in the ew7 format) but i have uploaded it to rapidshare for anyone who wants to take a look...

View 14 Replies


ADVERTISEMENT

Bulk Convert Strange File Format In Multiple Folders.

Oct 27, 2009

I have a series of files in *.ew7 format (i know its a random program)

I have some code which i can run which will simply open the relevant file and save it as xls.

The files are saved in multiple folders in format "yymm" eg: 0910 - oct 09.

inside each folder there is a ew7 file for each day in rthe format: "01ddmmyy" eg 01271009 = 27th oct 2009.

I have folders going back as far as may 2002 (in folder 0205) and i need a way to convert these all into xls format and save them in the same location.

View 13 Replies View Related

Referencing File Name While Changing File Name

Jun 8, 2007

I have a more general question. When doing something such as loading a picture, is it possible to be able to have code which the loading file name changes with a variable. For example, if I have pictures with names 1.jpg thru 120.jpg(all in the same directory) is it possible to write a code that loops and loads the proper image without having to write a section of code for each file name? This would be the directory(C:Documents and Settings muzaDesktopNew DatabaseDatabase Images312312_250) so could I code the filename calls something like this with having picname be the variable which goes from 1 to 180:

.Pictures.Insert( _
"C:Documents and Settings muzaDesktopNew DatabaseDatabase Images312312_250" & picname & ".jpg").Select

View 2 Replies View Related

Macro To Save Workbook By Referencing Cell In Another Workbook For File Name And File Path

Mar 21, 2013

I have got a master workbook and I have written macro to copy and paste data on another workbook. write a macro to save the new workbook to a file path with a file name where both file name and path are stored in master workbook sheet...

View 5 Replies View Related

Excel Macro Referencing A Variable File Name To Import

Oct 30, 2008

I have this Macro for Excel which imports 1 file C:datafilesuser1-data-1.txt into cell E52:

View 6 Replies View Related

Copying Formulas Across Workbooks Without File / Book Referencing?

Aug 13, 2012

How to copy a formula (16 columns) from a workbook to another, without referencing the source workbook.

Some people are using tricks such as replacing the equal sign "=" for another character such as "^" then using replace all to put the equal sign back again... but this is too much trouble.

View 2 Replies View Related

Lookup Referencing Closed File Returns Value Error

Aug 13, 2008

I have a file created in Excel 2003 that uses a vlookup to reference another file, also created in Excel 2003. The function returns VALUE when the referenced file is closed. I get the VALUE error whether or not I update links upon opening the file. If I open the source file, the function calculates properly.

Here is the formula when the referenced file is open:

=VLOOKUP(A38,'[June Scorecard confirmation.xls]VPSC Summary'!$C$10:$F$22,4,FALSE)

The full & correct path appears in the formula when the referenced file is closed.

Columns C, D & E in the referenced range contain text, column F contains a Sum. This file is linked to another file, also using lookups. The linked area in this file works without problem, but it is a precedent to the calculation in column F.

Both these files reside on a network in subdirectories of the same logical drive. I am using a laptop that briefly had Excel 2007 installed on it, but was wiped clean before it was issued to me.

View 3 Replies View Related

Referencing: Export File Arranges The Jobs In Rows With Each Value In A Separate Cell

May 3, 2007

I have a quoting application for damaged vehicles, this application is able to export all quotes and information relating to quotes into an excel sheet. the export file arranges the jobs in rows with each value in a separate cell i.e.

Job #|| Name || number || Parts $ || Total $
1453 || Mike K || 1234567 || 123.00 || 222.00
1533 || John C || 4353456 || 234.00 || 2342.00

Etc

Each job is listed on a separate row as it exports the records from an access database. once the information is exported I need to open another workbook and type in a job number into a cell and have excel automatically reference the relevant job and information relating to that job (all info in the same row) and fill in all the details from the other workbook into the new workbook. Example: the exported file contains 200 jobs, of those 200 i require 20 to view for one week. I have the job numbers of the jobs which I need to get information for. i open up another workbook and type in the 20 job numbers in separate rows and excel fills in the rest by referencing the other worksheet.

View 4 Replies View Related

Suppress Open File Prompt When Copying Over Formula Referencing Closed Workbooks?

Dec 13, 2013

I have an Excel file that contains formulas that reference external workbooks on a shared network. Each month, I copy the column of formulas over to the next month's column. Then, to update the file path, I highlight the new column and do a Find-and-Replace, swapping the previous month's name for the current month. This practice works fine. The only thing is ... the "Open File" promptbox appears for each formula where I updated the file path (i.e. and this can be hundreds instances!). I wind-up having to choose the file from the exact same file path. It is an unnecessary, and annoying extra step to take.

View 2 Replies View Related

Remove A Strange Scroll Bar

Feb 27, 2009

I dont know the real name about this scroll bar (like you can see in my attachment), so I cant search in the forum, sigh! how can I remove the bar in the red circle?

View 3 Replies View Related

Strange INDEX Phenomena?

Oct 8, 2009

INDEX(Sheet1!$F$2:$F$10,0,1) returns #VALUE!
INDEX(Sheet1!$F$2:$F$100,0,1) returns 110 (e.g.)
As Both index have zero(0) for its row reference (row_num) I would expect both formulas to return #VALUE! (or even #REF!)

View 2 Replies View Related

Strange Round Off Error

Jun 16, 2006

when mixing data types: a real and a complex as in

=IMSUM(-G1/2,IMSQRT(H1))

if G1 and H1 are both exactly equal to 4, the answer whould be 0

see [url]
and look at location I1 (highlighted).

View 9 Replies View Related

Strange Characters Appears

Sep 16, 2009

there is a strange character that appears in an excel spreadsheet. It looks like a square with a question mark in it.

what this means and am I able to remove them

View 9 Replies View Related

Strange Characters Equal EOF

May 28, 2006

I made a userform that spits out 'logs' in a more readable easy to understand. It basically shoves everything into a nicely organized list box.

I have a load button that if pressed accepts .csv's

It works perferctly for practically every type of .csv that contains these logs however 1/100 times the logs contain korean or chinese characters which cause the program to crash.

I gone through some debugging and I found out that the characters that cause it to crash happen to equal the EOF character. So not only does it spit an error on that line, it stops loading anything after that point.

Here is my CheckFileSize function that runs first to tell me how long I should make my list.

Private Function CheckFileSize(ByVal TempFileName) As Double
Dim TempData As String
Dim SizeCount As Double

how to do this besides loading it into a worksheet first?

View 9 Replies View Related

Strange Thing Only On One Computer Running This XLS

Feb 4, 2009

Copy of the scaled down Workbook are enclosed. Password is "j". Sheet("Final Schedule") is one of 11 sheets in the Workbook. Range("a10: BE120") is copied from another Sheet and pasted.

ISSUE BACKGROUND: Entries into cells are Data Validation and a drop down on each cell. In cells C15, 16, 17, 18 or O15, 16, 17, 18 First time the Sheet is opened: user has no problem if they select a D from the drop down.

ISSUE:
But if user types in D and hits enter key, contents of G10: M10 (merged cells) is copied into that cell. Any thoughts on where to check or what settings to check? It only happens on that one computer.

View 3 Replies View Related

Today Function Works Strange

Aug 24, 2009

I have a column, where i want to calculate the difference between today and another date/or viceversa. The problem is, that in the first two cells, it calculates it well, but then, it shows #VALUE and when I press to see the "calculations steps" , it shows "29/09/2009"-40049. It turns the today function into a number. Why?

View 11 Replies View Related

Strange Characters Pasting To Textbox

Dec 20, 2006

it is a very simple marco. It contains a textbox input within a user form. The only problem I have is, when I use CRTL-V to paste some text into the textbox, it has a wired character attached to the end of the text.

for example, I highlighted an email address (ex. abc@abc.com) from an email, use CRTL-C to copy, and I make sure that there is no space after the .com, and after I pasted using CRTL-V to the textbox, a wired character, like a reversed P sign..... very much like the carriage return in MS Word, would anyone know how to avoid that or disable that extra character?

View 3 Replies View Related

Increase In Decimals Returns Strange Result

Jul 21, 2006

I have discovered a strange thing about excel and it is driving me mad and ruining my project.

Basically, If i enter the number 97.4 into cell A1 and then 97.165 into cell B1 and then enter the formula =A1-B1 into cell C1 i get the answer 0.235. Which is correct.

However, when you increase the number of decimal places to 30 the answer that is returned is 0.234999999999999000000000000000.

This calculation result seem to fluctuate wildly depending on the primary numbers in cells a1 and b1. Very rarely have i seen the full 30 decimal places without a bizarre result like this.

Maybe it has been too many years since i was at school and that i am confused with my numbers and that there is a real easy answer to why this result is returned.

As i said it is ruining my project that i am working on. Can anyone help? Why does excel do this? Is there a way to stop this happening? My project relies on this answer to be correct. Is there a way to force excel to stop doing this?

View 9 Replies View Related

To Rid Fields Of Strange Social Security Numbers

Mar 16, 2007

weeding out a huge file I have of 10,000 users. When the usernames and social security numbers were entered originally, there were many mistakes on the social numbers, some were longer than 9 numbers and some were shorter....well now I need to delete the rows of the numbers that are nonsense, so I need help in finding or creating a script that goes thru my XLS file and strips out all the rows with less than 9 or more than 9 characters....can someone direct me on how to do this? here is an example of what im talking about

484818227 | John | Doe |
283298383 | Bob | Smith |
2039022221 | James | Dean | <--------need this row removed
293938832 | Billy | Bob |
29832E | George | Bush | <--------need this row removed as well

View 3 Replies View Related

File Format Or File Extension Not Valid

Sep 20, 2013

I saved my worksheet in vba .xlsx and for some reason, when I go to the folder that it's saved in and try to open the file I get an error message saying "excel cannot open the file 'PO Acks fo 09-20-2013.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file"

This is weird because I have another file that I save right before this that opens just fine without an error. Getting frustrating. When I go into the ~Users folder it shows as an excel file and saved as .xlsx.

Where would the link be missing?

Here is the code

Code:
ActiveWorkbook.SaveAs Filename:= _
"G:PURCHASINGSupplier ServicesGroupSharePublic~UsersPO Acks for " & Format$(Date, "mm-dd-yyyy") & ".xlsx"

View 2 Replies View Related

Prevent Automatic Date Format When Referencing Date Cell

Aug 1, 2008

I have been struggling with my Excel 07 Date format. Nearly every time I perform a calculation, enter in a value etc in a spreadsheet my answer is returned as a date. So for example if I enter in a cell: = 5 - 4. I get the answer "1-Jan-1900" instead of 1. I have to manually set the formats to general or number if I want the correct format. The setting seems to be the default one and occurs for all workbooks I open. What can I do to change this.

View 5 Replies View Related

Macro Worked For 2 Years, Suddenly Started Giving Strange Results

Jan 20, 2009

I have a VBA macro that I pieced together* a couple of years ago to help with a pretty simple task. We have two excel sheets that pull in information daily from different sources. The macro copies and paste values for the worksheet, then 1) saves a copy of the values only worksheet with the current date, 2) resaves the values only worksheet as a .csv file that is then manually uploaded into our database.

View 3 Replies View Related

3i8 File Format

Sep 1, 2009

I have files which are in "3I8" format....they open with excel....but the real problem is the data it has ( 121 801 1) is in one cell.....I should be able to add the last number....I cannot do it manually(8000 rows)...is there a way I can separate all three numbers in to each different cells in a single row.

View 3 Replies View Related

CSV File Format

Apr 8, 2009

i have an issue with CSV file format when opening in excel, between Col G and L i have cells which are overlapping to the next cell, not all of them overlap but there is quite a few, is there a way i can fix this, i have 20000 rows of data, i dont want to be going through manually trying to fix.

PFOLIOA/C CODEACCT NAME CURCODE DESCRIPTNNARRATIVE DATE ENTRY DATE CASH VALUE De--------------------------------------------------------------------------------------------------------------------------------------------ABA001AUDCUST NOMINEES AUDINT0005 SALE 39727.08 INTECH BAL GR FD C29-Dec-082-Jan-09-27690.57N

This is what i want to achieve

PFOLIOA/C CODEACCT NAME CURCODE DESCRIPTNNARRATIVE DATE ENTRY DATE CASH VALUE De--------------------------------------------------------------------------------------------------------------------------------------------ABA001AUDCUST NOMINEES AUDINT0005 SALE 39727.08 INTECH BAL GR FD C29-Dec-082-Jan-09-27690.57N

View 9 Replies View Related

Too Many Arguments For Specified File Format

Jan 23, 2014

Why excel won't accept a simple COUNT function?

This is the formula. It is supposed to count every 4th cell in a column.

=COUNT(F156,F152,F148,F144,F140,F136,F132,F128, F124,F120,F116,F112,F108,F104,F100,F96, F92,F88,F84,F80,F76,F72,F68,F64,F60,F56,F52,F48,F44,F40,F36,F32,F28,F24,F20,F16,F12,F8,F4)

Excel tells that it will accept up to 255 arguments in a COUNT function, but it'll only let me include:

=COUNT(F156,F152,F148,F144,F140,F136,F132,F128,F124,F120,F116,F112,F108,F104,F100,F96,F92,F88,F84,F80,F76,F72,F68,F64,F60,F56,F52,F48,F44,F40)

I have to use this exact same formula as a SUM function as well, but am having the same problem. Neither SUM or COUNT will take all the arguments.

I've attached the file. The tabs in red are the worksheets that won't accept the formula. The green tabs worked fine (they all had less cells to include than the sheets in red.)

01-09-14 RouteSheets SLO.xls‎

View 4 Replies View Related

Save File Into CSV Format?

Jun 18, 2003

I am trying to save a file into a CSV format. When I choose that save as option the file is saved with the commas but a need each field to be surrounded by quotes.

Is there an easy way to do this? I know I could append the " around the data in each cell with a formula, but I'm hoping there is a cleaner way to do it.

I would also like to set the extention of the saved file to .txt when I save it, but Excel 2000 does not seem to let me do that.

View 2 Replies View Related

File Format Is Not Valid

Aug 3, 2005

i have a customer (im a computer tech, but excel is not my specialty) that has a weird problem with her most important file. She meant well, but tried to back up a 2.6 MB file to a floppy disk, and after it told her the disk was full, she was unable to open the file again in excel. (File Format Is Not Valid) It will, however, open in word, with the data there. Its in an unusable format, as there were 12 different worksheets (one for every month), all on the one page of MS Word. Better than nothing, but still will take weeks to reenter properly. I searched for a repair utility and had one that seemed to work, but only put a "0" in column A row 8. A far cry from what we are looking for. Ive also run a disk recovery program in the hopes of finding an older version of the file, but came up empty.

View 9 Replies View Related

File Cannot Be Saved In This Format

Jun 16, 2008

I have a file with code attached and when I try to save it I am told that the file cannot be saved in this format and that I must unprotect the code before saving.

I have no OnEvent macros in the code.

Does anyone have a solution for this problem. The code must be protected, non-protection is not an option.

View 9 Replies View Related

Launching Another File Format From Vba

Mar 14, 2007

My company uses database software called Business Objects. At the moment few people are using the program and its reports as they can't find the key ones or workout how to run them correctly. As everyone is comfortable with excel. I am creating a series of forms to guide my users to the key reports. I like this method because it is very user friendly and I can add lots of descriptions. Unfortunately my programming knowledge is limited to excel so I can't write a standalone program as you might suggest I do.

The problem:
I want to launch the non-excel files using VBA. For example, a user will click on a "Customer" button to see a second form containing a list of customer reports. The user will then click on the button containing the name of the report they want to launch. I want the file to open. I tried using hyperlinks in an excel spreadsheet which works fine for opening the non-excel files, but it isn’t nearly as user-friendly or interactive.

View 4 Replies View Related

Date Format Error In CSV File

Apr 3, 2014

I am facing a weird date format error in .csv file for a specific time periods.

I have a file where data is stored on monthly basis from the years 1976 uptil today. I have all the data months in expected format except for the years 1989, 1990 and 1991. These files are created by using Informatica and SAS.

For example:
Expected date format = 1-January 1989
Actual Date Format = 1-Jan-89

This issue doesn't exist when we open the same file in Excel, Textpad and Notepad.

I have attached screenshot of the data (filename: CSV Issue.JPG).

View 7 Replies View Related







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