Organizing Files Using Macro
Nov 16, 2011
I have a list of 35k files and the number of files keep changing every week. At the end of the month I manually have to sort the files i.e move files to the respective folders, delete them or take no action. This takes me an entire day. There are useless files which needs to be deleted.
Si NoFile nameFile PathNew PathAction
1Store C:Jay PersonalDesktopRXProjectSix SigmaStore.xlsC:Jay PersonalDesktopNewProjectSix SigmaMove
2AppointmentC:Jay PersonalTeam QualityAppointment.pptC:Jay PersonalTeam QualityAppointment.pptDo Nothing
3QualityC:Jay PersonalDesktopRXProjectSix SigmaQuality.docDelete
The format is as follows. File name is the file which I intend to move, File path is the current file path, New path is the path where I want the file to be moved, Action (Move, Do nothing, Delete) is the action i intend to take on the file.
View 3 Replies
ADVERTISEMENT
Oct 15, 2008
I make our employee schedule at work, and so in Excel I have eight sheets for one workbook. (Employee schedule, then each day of the week) On each day is a table separating the shifts. Morning, Split and Night.
I was wondering if there was a way for Excel to look at the schedule sheet, and then automatically place each employee and their shift on the following day sheets. (example: Joe has 2-10 on Monday, 10-6 on Thursday and Friday) So the Excel puts Joe underneath Split 2-10 for Monday, and Morning 10-6 on Thursday and Friday.
View 10 Replies
View Related
Jun 8, 2006
I have attached a file that I need a little guidance on. The list of information on the left needs to be organized and put in the appropriate tables on the right. Each row represents one person and I need to know how many people from the list fall into each category. For example: The first row has a gender of "1" and the age is "46" and the status is "1". Therefore, this person falls into the category associated with "K11", I filled it in already. My list will vary in length from 20 rows to 20,000. I am not sure how to go about this and have been frustrated by failed attempts.
View 6 Replies
View Related
Jun 27, 2013
I'm looking for a opinion on what might be the best way to organize some data for sorting later.
I work for a company and we have a lot of equipment. I have a spreadsheet with each piece of equipment in a row. Column A has the equipment name with all the following columns having info about the equipment. One example would be voltage, some equipment runs at 120v and some runs at 208v, some runs either or and some runs at other odd ball voltages, although this is rare. I am trying to determine what the best way to enter data like this would be. Would I be better off entering one column labeled voltage and filling in the voltage, but this becomes problematic when a piece of equipment can run multiple voltages. The other though is to do multiple columns, one labeled 120v, one 208v, one 480v or whatever and go from there. Than put a "X" or Yes or something in the columns that apply.
I have this same scenario for multiple variables like connectors, hardware accessories and things like that. I am trying to think this through before entering all my data of what could be the negative effects of this.
Would it be possible/make sense to do a radio box?
My end result is hopefully to be able to say I want a piece of equipment that meets multiple scenarios like runs 120v, this accessory and this connector. Ideally setting up some sort of easy sort method in my column headers.
View 2 Replies
View Related
Nov 26, 2013
I have a spreadsheet converted from pdf having more than 30 Columns .for Example( name, address, tel. website , products etc).
Problem is that data is not consistent in all columns.Some have full range(all 30+ columns having data) and in some not( only some columns having data )
I want to organize data as per headers and leave cell blanks or fill in (N/A) where data is not available for that field. How can I correctly populate it.I need data as per headers in rows.
Here i am dealing with 2k rows with 30+ columns.
View 3 Replies
View Related
Jul 11, 2014
I'm setting up a type of form in excel where I have some validated drop down lists and I'm trying to use a macro that will, upon a button click, take the data from the drop down lists that are entered into the boxes, and organize them into a chart on a different sheet of the document. This would be the form with some drop down lists.
Juice Type
Apple
Juice Size
8 oz.
Juice Buyer
Ronald
I want to add it in to a table with every button click filling in a new row in a table like this,
Juice Type
Juice Size
Juice Buyer
Apple
8 oz.
Ronald
View 3 Replies
View Related
Apr 19, 2007
Is there a way to sort the worksheets in a workbook after they have already been entered. My clerk put 200+ worksheets in one workbook....out of order.
View 7 Replies
View Related
Sep 11, 2013
I have a question on how to organize cells from lead sheets that I load inside excel, when it loads it shows as is:
Name, Last, Address, City, State, Zip, Phone #
I need it to be organized so when I print they read:
Name
Address
City, State
Phone#
Instead Of them All together in a landscape view.
View 1 Replies
View Related
Dec 31, 2011
I'm looking for a formula that would arrange the numbers from column K into the sum table, according to their sum total from column L, the formula should begging in cell P3 to maybe T3 and down to T30 I suppose ?
KLMNOPQRSTU1NumberSum Sum Table 2
30235 0 40246 1 50279 2 602810 3 702911 4 80347 5 023 903710 6 024 1003811 7 034
1103912 8 1204711 9 027234 1304812 10 028037 1404913 11 029038047 1507815 12 039048237 1607916 13
049238247 1708917 14 239248347 182349 15 078249348 1923712 16 079349 2023813 17 089278 2123914 18 279
2224713 19 289478 2324814 20 479 2424915 21 2527817 22 2627918 23 2728919 24 789 2834714 25
2934815 26 3034916 27 3147819 3247920 3378924 34
View 9 Replies
View Related
May 13, 2014
I am in process of making an appraisal system for my organization through excel templates .Each employee will Have 2 KRA templates .One specific to their roles and other in the area of their interest.
So while rating i will select role of the person and his interest area.Then the comprehensive template integrating both templates should be generated from the master templates which are in place.If i make any edits in Integrated template,it should not be reflected in master templates
View 2 Replies
View Related
Jan 31, 2014
I have a bar chart that monitors month over month activity. I use Layout 5, which allows for the numbers data to neatly be organized in a table below the bar chart. However, i recently started using the data on a secondary axis to accurately reflect trend lines. It works great, but now the data table below displays redundant information. see attachment.
example.jpg
I just want that data in the data table to be displayed once, completely leaving of the axis legend.
View 2 Replies
View Related
Jan 31, 2009
I'm a novice in VB and can't work out how to solve the following problem:
I have imported NMEA-data in text format from a GPS into Excel. This data is acquired in real-time at 10Hz, which borders what the GPS in capable of calculating. As a result the data isn't quite reliable enough - there are strings missing and some lines have been skipped by the GPS. This is a typical example of what sometimes happens: ...
View 15 Replies
View Related
May 13, 2009
Sub SplitOut()
Dim DataSH As Worksheet, OutSH As Worksheet
Set DataSH = Sheets("Input")
DataSH.Activate
lastrow = Cells(Rows.Count, "D").End(xlUp).Row
For Each ce In Range("D2:D" & lastrow)
Application.StatusBar = "Actioning " & ce.Row & " of " & lastrow.............
I am working on this spreadsheet that has a lot of information that will only get bigger as time goes on. I would like to organize the contents of one column into separate spreadsheets. So if I have "stacking" in one cell of that column, the whole row associated with that cell will go to a new spreadsheet labeled "stacking".
I have attached the sheet. I would like column D (Type_Code) to be organized by the words in that column. So I would have 5 or so worksheets labeled stacking, cartoner, wheel, inspection, etc. The data here is input by a machine.
View 3 Replies
View Related
Apr 25, 2007
i need to make a macro that takes workbooks or files and
runs them through another macro. i already have the 2nd macro
done and it is working perfectly i just need to know how to make the one
that finds the other files and runs them all through the macro i already made. My boss said that he will have about 150-200 files to run through this macro.
View 9 Replies
View Related
Mar 30, 2009
I want to manipulate team statistics and having a bit of trouble trying to figure out how to do it. I am relatively new to excel and am using Excel 2007.
I have attached the excel file for your reference (the same file).
What I need to do is first find out the team number using the table on first sheet named "Teams". User will enter team name on call B4 of sheet "Team entry" then in cell C4 there should be a formula to find the team number (is beside name on sheet "Teams) and displays it (on C4). Then on cell D4 of the same sheet "Team entry" there should be a formula that displays cell A1 (shows a statistic for that team) of the team sheet. Each team has its own stat sheet named by its team number (easier for me to keep track). So basically D4 should show cell A1 of the sheet that shows stats of the team entered. In addition cell E4 of "Team entry" should display stat2 (of the sheet "stat2")for the team entered.
View 2 Replies
View Related
Aug 16, 2006
I have this macro that a friend of mine wrote on a windows machine, and I can't quite figure out the code changes needed for OS X. For someone who knows how to do this, I'm sure it would only take a second, but I've been banging my head against the wall on this thing for too long.
Option Base 1
Sub Data_Compiler()
Dim FileSelected
Dim FileName
Dim CompiledDataArray(1 To 30, 1 To 53) ' Array to store our statistics
Dim Counter1 As Integer
Counter1 = 1
FileSelected = Application. GetOpenFilename("Your Files,*.xls", , "Select Files", , True)
If StrComp(TypeName(FileSelected), "boolean", vbTextCompare) = 0 Then Exit Sub
For Each FileName In FileSelected
Application.DisplayAlerts = False................
I can get a "open files" dialogue box to pop up, but I can't figure out how to make sure that multiselect is enabled. I need to be able to run this macro on 11 files at once.
View 3 Replies
View Related
Apr 14, 2014
How to create a macro that selects only the 2nd file in a folder to be opened instead of every file.
So far the code below is opening every file.
Sub ConsolidateAll()
Dim wkbConsol As Workbook
Dim wksConsol As Worksheet
Dim wkbOpen As Workbook
Dim wksOpen As Worksheet
Dim FolderName As String
Dim FileName As String
Dim Cnt As Long
Application.ScreenUpdating = False
[Code] .......
View 2 Replies
View Related
Nov 4, 2008
There is a directory (K:/Munka) which contains many many Excel files with different names. What I would like to have is a macro which automatically opens and copies the content of each file into a new excel file, so I do not have to open so many files one by one and copy and paste the content of these file into a new file. Can that macro be created?
View 2 Replies
View Related
Dec 17, 2008
i need a macro to do a comparison b/w the two given files ...(book1 n book2) ...
n want the result to be like result file .. (result.xls)
View 6 Replies
View Related
Dec 17, 2008
I have a macro that launches word or excel files if the file address (e.g. C:Documents and SettingsHenryDesktop est.xls) is typed into cell A1 by looking at the last 3 letters of the file name.
I cannot find a way to enable it to launch pdf files as well (e.g. C:Documents and SettingsHenryDesktop est.pdf)
View 12 Replies
View Related
Aug 4, 2009
I want to loop through all files in a directory and run a macro named "Main" in each file. The file that contain the loop-macro will stay in the same directory as the files I loop through.
View 4 Replies
View Related
Mar 22, 2012
I've successfully managed to run a macro to format a .xls file on opening it. How can I do the same with a .csv file?
View 1 Replies
View Related
Sep 22, 2012
I download 10-15 files from an interface which are automatically stored in a folder called 'Excel' on my Desktop. These are all .csv files. I need a macro script, that opens each of these .csv files, copies the contents starting from the 3rd line, and pastes them one after the other on another Excel workbook where this macro script will reside.
View 2 Replies
View Related
Mar 13, 2014
I need a macro to zip only the access files in the folder placed in the desktop.
View 1 Replies
View Related
Apr 30, 2007
If i have a folder with multiple csv files in it, all with different names can i get a macro to open all these files.
I know that i can if they are always the same name each time i run the macro but what i would like to do is to change the name of the csv files daily.
The reason is because i could have upto 50 different files a day.
So basically i'd like to click a button and open all the contents of the folder regardless of the name of the files inside.
View 9 Replies
View Related
May 14, 2007
I have data in several files named APT1, APT2, APT3, APT4, APT5... then I have a master file called APTMASTER. the fles contain certain data in sheet 1, what I need to know is if there is a macro that can copy data from all the APT 1 to APT 5 in the APTMASTER in such a way that it is one continous flow of data. Can this be done by just a button...
View 9 Replies
View Related
May 13, 2008
1. I've recorded a macro that imports values from 6 different .csv files at once. The problem is that not all of these files are going exist upon import. Is there a way to tell the macro to only import if the file exists? And to skip if the import of that file if it doesn't exist? Right now the debugger stops the macro because of file not found.
2. I want to press a button on Sheet 1 that copies Sheet 1 into a new Sheet that's named with today's date. E.g. I press the "Archive"-button, the sheet is copied to a new sheet with the name "051308".
View 9 Replies
View Related
Mar 11, 2009
I have several files in one folder. C:/data/
These files are named as date_xxxx.wk1. The date format is YYYYMMDD.
Everyday I need to rename them as date_cellvalueA1.xls where the date format is DDMMYY.
Cellvalue A1 is taken from each of the respective workbook.
As I need to rename them on a daily basis. Can I use 2 field, one to determine the directory path and one to determine what file name to search for.
If the files contain the YYYYMMDD, it will be rename to DDMMYY_cellvalueA1.xls
View 9 Replies
View Related
Feb 5, 2010
i want to write a macro for opening 200 excel files file names start with report0,report1,report2..................report200
View 9 Replies
View Related
Jul 5, 2007
The title pretty much sums it up, actually. I have a macro, and a beautiful piece of work it is. It selects a particular selection of the active workbook, parses it in a particularly thrilling way, and writes the result to a text file. I'd like it to do this for ALL the files in a particular directory (somewhere over 500 files, if that matters).
View 2 Replies
View Related