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


ADVERTISEMENT

Opening Excel Files In File Path Which Includes Folders?

Nov 7, 2007

I am trying to open excel files in a file path which includes folders which also have excel folders i wish to open there are quite a few.

At the moment i am working with this code but it fails to open excel files which are within the folders in the specified file path. Its fine for excel workbooks in the folder specified by file path.

This is the code

Sub RunCodeOnAllXLSFiles()
Dim lCount As Long
Dim wbResults As Workbook

[Code].....

View 9 Replies View Related

Opening Multiple Files Into One File

Mar 1, 2010

Ive got about 300 different excel files all with the exact same format the only thing that is different is the values in the columns but they are all raw reports dumped into excel.

because I had to run them all seperate for certain reasons is there a way to combine all these files into one file without copy pasteing them all into one sheet.

View 9 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

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 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

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 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

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

Opening Excel File From List Of File Names Located In Single Sheet?

May 31, 2013

loop and range function to apply in the below code through which I can avoid writing code for all the rows.

I am trying to open excel files located in single folder from files name (along with the path) in single worksheet (Column B and Row 1 to 500).

I have created follwing code which opens the file and then runs a macro in it.

a Sub Test()
Dim strFName As String
strFName = Sheet1.Range("B2").Value

[Code].....

View 4 Replies View Related

Opening Files At "Persnl Sht" Every Time File Is O

Jul 29, 2007

Have not been at VBA long so am prety much "junior" I suppose
What I have so far is folder for each Client! - maximum of 4 files in each folder and could all be open at same time
Have "central" VBA well set out control page with Client Files option and command buttons but files open at "last page saved"
Added worksheet select which opens perfect - after the "macro" yes/no open box opens with "last page saved"
Working with "office 2000 SB" and have tried various ways
workbook open / beforeclose / beforesave - matbe not 2000 objects
Just want client to see file opening with his name nicely shown on worksheet
Would really appreciate suggestions to get file open at client worksheet page from start

View 9 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

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

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

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 2007 :: Using Parameters While Opening Workbook To Get File To Autoload

Oct 5, 2012

I need to combine AHK and Excel, and in this I came up with the solution to save my parameters in a file, and let the workbook autoload it when I open the workbook. To do this I need to pass a command line parameter, or working directory to the workbook, as I will be using many different work directories for this to make sense.

This is only a matter of how to execute my workbook so that the path is included (and usable) to the working directory

I have tried

..workbook-name.xlsm /p "workdir"

But it results in a "grey" version of Excel aka. Excel is open, but no workbooks are.

I have also tried

excel.exe workbook-name.xlsm /p "workdir"

But this did not work either, and is not an option as we use both 2007 and 2010 at my workplace where this is intended to be used.

I can do it very easily by using absolute paths in the Excel auto-load, but as I have explained already this is just not an option.

View 7 Replies View Related

How To Make Audit Trail When First Change Is Made Right After Opening Excel File

Jul 30, 2012

Pls see below codes, the codes can record down changes made "from" and "to" and put on the "Log" sheet, however it is unable to capture the original values when I first open the file and make the changes.

Also, how can I put the value of "Now" in column B?

Code:
Dim PreviousValue
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Value PreviousValue Then

[Code].....

View 9 Replies View Related

VBA Open All Text Files In Excel In Folder And Save Them As Excel File

Dec 7, 2013

I have some daily text files in a folder (so about 30 of them each month), which in the end of month, I need to open them up in excel, format them so that I can use the information for my analysis.

I would like to create a macro, to quickly open them all up at once and save them each individually in .xls or .xlsm format.

I am new to VBA and after some research online, I was able to have the files open with the following code. but now I don't know how to proceed further to save them one by one with the same name but in .xls or .xlsm format.

Sub Opentxtfiles()
Dim MyFolder As String
Dim myfile As String

[Code].....

View 2 Replies View Related

Array Calculation From 2 Files Without Opening Files?

Apr 2, 2014

I have 50 files each with 1000 numbers in column A.

I need to compare every list with every other list and calculate the Pearson function.

I am ok with the vb code to compare every file with everyother.

I can do this by opening each file then closing but it takes too long.

Each of the 50 csv file names is in my destination workbook

I would like to define an array using the file name, then extract 2 lists without opening the files then perform the pearson function and place the value in the destination workbook. (The pearson function just measures the strength of correlation between 2 sets of numbers)

View 4 Replies View Related

How To Combine Several Excel Files Into One File

Mar 17, 2007

I have about 60 excel files with same columns in each file. Is there a way to combine them together into one file (on the same sheet) besides copy and paste file by file manually?

View 9 Replies View Related

Split Excel File Into 5 Smaller Files

Dec 17, 2013

I have an excel spreadsheet that has over 10 thousand rows and is 40+ Mb in size. It is giving me timeout errors when trying to import it into Joomla 2.5. Therefore, I need a way that I can easily split the file into 5 smaller files. Here are the column headers: titlemetadescmetakeyaliascategory_pathstateintrotextaccess

I tried doing it manually but is said the cell sizes were different...

View 3 Replies View Related

Copy Multiple Excel Files Into One File?

Jan 10, 2014

I am trying to combine 60 separate excel files into one main file. I've been opening each file copying it then pasting it into the main file.However, this is getting tiresome.

View 1 Replies View Related

List All Files In Directory In An Excel File

Apr 2, 2009

In my search I found several example similar to what I need, but nothing I could adapt to filt my needs, (at least not wim my limited skills).

Here what I need to do:

I have multilple Excel files in a directory. (M:/Archived PO Responses/Domestic). On a daily basis, these files are processed via VBA, and deleted after processing. What I need to do is, prior to processing and deleting these files, create an ongoing log of the filenames in that directory.

Example:

The macro would open an Excel file named "Processed Orders.xls", which is stored on the network drive "M:". It would then append all of the filenames in the directory mentioned above to a sheet named "Processed Orders" in that workbook, below any filenames that already exist.

View 8 Replies View Related

Opening A File Without Opening A Workbook

Apr 17, 2007

I have a need to open a file from my companies intranet. My current method was to open said file via the method that the recorder gave me. However, I would like ot be able to open a said file without having to start open another workbook.

This is the path:
[url]

So the command is this:
Workbooks.Open [url]

Links are not actual links

So what I need to know. Is how can I open this file without opening a workbook. I haven't been able to use the VB "Open Statement" to open a file and I don't believe that I've been successfull using the Filesystem object either.

View 9 Replies View Related

Macro To Add New Sheet To Many Excel Files From A Master File?

Jul 11, 2013

I have many folders (around 500) - each of them contains a excel file (the excel files have all the same name), ideally I would like to be able to run a macro from a master excel file that would allow me to add a sheet which I would create in the master excel file and add it to all of the excel files that are in the folders. So far I have used the code from the link: [URL]

VB:
Sub CopyWorkbook()
Dim sh As Worksheet, wb As workbook
Set wb = workbooks("1.xlsx")

[Code].....

but when I change it from 2.xlsx to 1.xslx in the code it works just fine, copying the sheets from the file to itself.

View 2 Replies View Related

Difference In File Size When Saving Excel Files?

Apr 11, 2013

I tried to use prtScrn button on the keyboard to capture the screen (excel UI) and then pasted it to excel then saved it. I tried to do the same thing on my friends machine and what surprises me is that the file size of two excel is different.

We use the same OS, excel version and the same machine specs.My saved excel file is around 7.91 mb in size while his is just around 235kb. Why is this like this?

Both pasted image have bmp as a format (default for excel when a you use print screen and directly paste it on excel.).

View 3 Replies View Related

To Read Many Text Files And Write It In The Excel File

Dec 11, 2009

I need help for reading data from text files and saving it under different columns in the excel file using vba macro.

For example: I have many text files in the following format ....

View 9 Replies View Related







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