I have attached my particular spread sheet I an referring to.
I set up a spread sheet to write out all the material I buy to go into a product I make. I work my way through a layout diagram and type all my data in to a spread sheet, one row per item I need to buy.
Now I want to order everything. Is there a way to sort the spread sheet so it brings all my like items from Column A (item) together, so I Can count the quantity required to order?
I have tried to sort, but am worried I might be messing up the rows and column - all the row information must stay together for it to work.
I have a spreadsheet here that collect information through vb, now when the first agent is done with the information needed and click on the save command button the information is saved in the spreadsheet.
For example:
A | B | C | D | E 1 Date | Name | Birthdate | Gender | Age 2 11/20/11 | Greg White | 04/12/1977 | Male | 34 3 11/20/11 | Greg Blue | 04/12/1977 | Male | 34 4 11/20/11 | Greg Green | 04/12/1977 | Male | 34 5 11/20/11 | Greg Black | 04/12/1977 | Male | 34
Now theres no problem with this instance.... the problem arise when the second agent do the same thing..... when i check the spreadsheet the information was overwritten.
What really should be happening is that when the first agent click the save command button the spreadsheet will be saved so that when the next agent click the save button it will go to the next line.
Another thing that i noticed, since the spreadsheet is shared through the network, it takes time before the information is saved.
1. When Save button is clicked the spreadsheet will be saved. 2. A code (if there is any) to speed up the saving of shared excel file.
i am trying to do collect data from 4 different spread sheets (they all consists of the same columns but they do not have the same amount of rows) and rank them based upon one of the columns in a fifth spreadsheet. in the fifth sheet i also want to display all of the information found in the four sheets, see simplified example below. Is this possible? and how do i do it? when i googles it i only found ways to do it using macro but i know nothing about macros..
Simplified example:
Sheet 1 A 3 W B 5 X
Sheet 2 C 2 Y D 7 Z
What i want excel to do C 7 Z 2 B 5 X 1 A 3 W 1 C 2 Y 2
Workbook 1 has 2 spreadsheets. Spreadsheet 1 contains Item and Pass/Fail Columns. under the item column is the serial number of the item tested. the Pass/fail column has the serial number duplicated if it failed tested. what is the formula is to have spreadsheet 2 pick the items from the pass/fail column on spreadsheet 1?
I am working with VB 6.0. So far I have been able to create my recordset, opened excel spreadsheet and imported data to the spreadsheet using the recordset. The spreadsheet has five fields and each field has multiple items as in the example below.
I can get this to display in my listbox however when I add a new line to the range it won't refresh the list unless I reload the form it is on. I am also looking to see if it is possible to sort a list when it is displayed in this fashion.
The code for sorting a multi-column listbox in Retain Selection After Sorting ListBox was really good, and I've used it a lot in an application I'm building.
What I'm hoping to do is reload a listbox in such a way that the items appear in the same order they were previously in. I'll describe two scenarios: 1. User edits a record - user sorts listbox - user selects a record - user edits record - listbox reloads, unsorted
2. User adds a record - user sorts a listbox and sees a record is missing - user adds the missing record - listbox reloads, unsorted
ideally the last step for each would be "listbox reloads, sorted" and the user would go on down the list. the tricky part i think is when rows are deleted or added.
i'm starting on a solution, but if there's some existing code that will do this i'd appreciate if someone could point me to it (because, for example, the listbox sorting code i referred to above anticipated things i did not).
I have two spread sheets from one of our suppliers, one was issued in 2008 and the other 2009. The newly issued sheet has about 400 extra items. How can I identify these new items of stock easily. I have attached both sheets for you to look at.
I'd like to extract the rows with blank cells in Column C and product codes in Column B and create a list of product codes which don't have classifications on a separate list.
This new list would need the ability to be revised as other codes will be added once a macro is run.
We have a software program that we use to takeoff HVAC equipment on drawings. It will export all of the items to an Excel worksheet. Once it is into Excel I need to sort the data by two or more different columns, then sum three to four columns for each unique item for transfer to the equipment sheet for pricing. I've searched this site and others, but have not found a way to do this with VBA in Excel.
Floor Rank Name Description Qty Cost Labor Seismic
[Code]....
The sheet is a simplistic view of what I'm trying to explain, obviously in high rise there will be many floors and hundreds of items. The actual spreadsheet has approx 12 columns, but only 3 or 4 need to be summed per similar item. Most times I sort by Range & Name. On occassionwe need to sort by Floor, Range & Name. Used to do this with a Database & RR Report Writer, but the new software does it onscreen with digitized drawings.
I have a spreadsheet (rows 1-15) where column A is a list of items in ascending order, and column B shows the catalog# that the item appears in. An items can appears in multiple catalogs.
I would like to develop a spreadsheet(rows 18-21) that shows the items that appears in each catalog.
The items should still be in ascending order. The order of the catalog# row18 does not matter. I have several hundred items and 30 catalogs....
I am trying to create code for a Macro that will compare items in two seperate lists in a spreadsheet, and eliminate all entries that do not appear in both lists.
I am making a spreadsheet that allows users to select items from a validated data list. Each item in the list has a numeric value in an adjacent column. When the user is entering data they will select from a drop down of the data list in column "A" and I would like to have the numeric value that corresponds with their selection to then autofill in column "B". I have tried VLOOKUP and IF formulas but cannot seem to get anything to work.
I'm trying to learn how to do auto sort. I Know how to do the custom manual sort but it is taking to long to do my spreadsheet every night. I love to play the greyhounds but to manually sort 18 columns a race with 15 races each night takes a while there has to be a easier way.
here a sample of what I'm trying to do. The columns are in two C-D E-F G-H I-J and so on. The rows here are 7-14 as you see I have to sort some high and some low. Is this possible to do a auto sort for each set of columns
I am using vb6 and I need to Sort records in spreadsheet based on items in column 7. Actually, I want to sort the spreadsheet before executing the count process below. Note: the code below works perfectly, I just need to sort the spreadsheet before counting.
Need a code that sends emails to the intended receipients based on hold codes if Columnd J reads as YES Email formats are listed on "Email Format" tab, code should pick the required field value from the table (Hold Report).
Analyst name, Phone number are entered in the text boxes (data validation for these is desired)
option boxes are used to send email based on the selection as below
if "send initial email without attachment" is selected then emails should be sent without the attachments
if "send initial email with attachment" is selected then emails should be sent with the attachments
Attachments are usually .PDF files and are stored on users desktop with file name as .pdf
if the follow up otion is selected the subject line on the mail should be appended as *** 1st Follow-Up*** along with standard subject line
Rest of the requirement remains same for followup option (same email format is used) based on the option selected, code should be able to send emails with or without attachments. I have provided three command buttons that are intended to work as follows;
Validate data: need to validate the data to ensure that each row has atleast one email address in "TO" column and there are no spaces in the email address.
Clear Data: Should clear the existing data from the table
Send Emails: Should send emails
Standard subject line is a combination as below
Invoice on Hold for ; Invoice number: ; PO Number: ; Invoice Amount:
Note: Column H and I apply only for hold codes Qty Ord and Max Ship Amount
my spreadsheet attached, when you open it up you will see the tabs on the bottom, each of those tabs are departments.
This spreadsheet track all the jobs coming through my department, placed by other departments.
On the right hand side of each sheet are print numbers columns, and total hour columns.
at the end of a job I record how many hours the job took or how many dollars it cost. Then the job is close out and that line of information is sent to the archive page.
The archive page is where all the information is stored, print numbers hours and dollar amounts and so forth.
what I would like to do is, set up another sheet within the workbook that would sort all of the part numbers and associate them with hours or dollar cost.
I'd like to have it start the search when a new job is entered and I put the print number into a cell, in any of the department pages.
I have a Spreadsheet with five columns. The column headings begins in rows 3 and 4(merged), these are Reg.#, Rank, First Name, Last Name and Station respectively.
The 5 row is used as a filter row. Therefore my Data Range is from A6:E505. So far I have input some data up to row 25.
Problem: Each time I input data I have to sort manually, I need a VBA Code to paste to automatically sort by Last Name even as I continue to input data in the other rows.
I have a cashflow spread sheet on which there are three properties that are currently being renovated and are being rented out. I would like to see ongoing costs for each individual property on the main spread sheet. I can filter and sort by the properties and autosum to get the individual costings of properties, but I would like to be able to see the costings of each property on the main spread sheet once I have stopped filtering.
I’ve got a soccer spreadsheet with the names of six national teams. Near it, the small table that present current condition of a team. Under it, I created the small table where I want them to be sorted automatically by gathered points. The spreadsheet. For example:...............
I want the name of the team, who gathered maximum points, to be shown in first row. In the second row, must be shown the team which has the second result. There must be one formula that I can copy down. So I wrote the next formula =MATCH(LARGE(A1:A9;ROWS($A$1:A1));A1:A9;0)
Everything was perfect until I saw that if the column has the same numbers (points) it returns the first matched row number. So I did the next
Have a spreadsheet with 15 columns. In one of the columns is the name of the company and that column is not in alphabetical order. The city, state, zip code, business type and all the other pertinent data about that company is in the same row as the name of the company. My intent would be to put the company names in alphabetical order and keep all the company information in the same row as the company name.
I bought 32 laptops out of my own moeny (used) to get my 5th grade students into the 21st century. I have several programs working on these laptops which output data in text and xls files. I would like to either:
1. Poll the files on each workstation at the end of the day and bring the data into excel (I have worked in VBA). Computers are named Comp01 to Comp33.
2. Better: have the workstations save the files to my NAS device so they are on one hard drive.
I would like to keep it simple (I'm a teacher not a good programmer.) Is the "Import External Data" the way to go for the text files? Can a macro go out and loop through the 32 laptops using that or some other add-in?
I have a workbook with multiple worksheets and would like to use a macro to do the following: 1. get data from cells: c2, m29, n29 & o29 in individual worksheet 2. enter in summary sheet 3. do the same for next worksheet and put info on next row
I'm importing data from the internet. The cell I'm trying to get is B8 on "Temp_Data" onto cell E3 on "Other Data". When it imports the cell into Temp_Data for some reason the cell expands, and I can't have that. I would manually copy and "Paste Special", text, into the proper cell, and that works. I can also copy the fist 7 letters in the string from B8 and paste them into E3. My code currently looks like this:
I have a need to collect cells from different worksheets based on several criterias.
The worksheets all have one column and cell value in common, "Project name".
I need to collect some cells from different worksheets and visualize them on a new worksheet.
The cells I want to collect is:
- Project name - Status of Project - Income
I have been able collect these data. But the trick is that I need to sort these collected data on "Status of Project". The status of a project can be one of three: Committed, Uncommitted or Unspecified.
So what I need is three bulks, something like this:
HTML Code:
Committed "Project name" "Income" "Project name" "income" Etc.
Uncommitted "Project name" "Income" "Project name" "income" Etc.
Unspecified "Project name" "income" "Project name" "income" Etc.
The point is that this can be done manually, but to have a macro doing this would obviously save ridiculous amount of time for me..
Is there any way to force some sort of garbage collect in order to free up memory? I am running some code which takes values from one workbook and pastes them into the control workbook. It currently works when 15 sheets of data are being moved however, my data has just grown to 16 sheets and now the code gives me the not enough resources message. If a garbage collect would solve this issue would I need to also reset any variables I had defined in the code?