Excel Column traversing -
I have 216 colums, and I need to get the sum of each column. Is there any way for me to traverse through each column?
Here's the info I have, and what I'm trying to do:
1. my rows are a variable (ex:146)
2. I have 216 colums
3. I need to get the sum of 146 rows in each column and place it into a corresponding column on another sheet.
If there's a way to list a column as an integer as opposed to a letter(A1:A46 where A is the column), I can traverse. Or if there's another method of moving columns that'll work too.
Thanks for your help
Excel Column traversing -
I have 216 colums, and I need to get the sum of each column. Is there any way for me to traverse through each column?
Here's the info I have, and what I'm trying to do:
1. my rows are a variable (ex:146)
2. I have 216 colums
3. I need to get the sum of 146 rows in each column
Someone Please Help! -
I'm having a lot of trouble with my Excel App...
Can someone tell me how to perform an AVERAGE function without using thr formulaR1C1? Or, if that's not possible, could you tell me how to use a variable in the formula?
Also, traversing through spreadsheets is proving difficult f
csv into sql. -
I recently (with you guys help) an app that takes a tab delimted file in notepad, split the delimeter, and import it into a column in sql. Just one column.
Now I have to do the same thing, only Its a excel sheet (csv) and it has about 17 column headers. I want to do the same thin
csv into sql table -
I recently wrote an app that takes a tab delimted file in notepad, split the delimeter, and import it into a column in sql. Just one column.
Now I have to do the same thing, only Its a excel sheet (csv) and it has about 17 column headers. I want to do the same thing, but I'm having
Determining the last used row and cloumn in excel -
Hi,
Can anyone help me how i can determine the last row and also the column containing the data..
Usually everyday I append data to my excel database worksheet and I want to create macro that will determine the last row and last column position.
Example I have excel worksheet co
making an expression tree -
hi,
i want to make an expression tree. but i don't know how. can any one provide me with an algorithm.
i need to store the boolean expression in the tree so that i can use it to draw the circuit diagram of the expression by traversing it in post order.i know the traversing p
Add Column in Excel with DAO -
Is it possible to add a column to a excel sheet using DAO. I already have the code to connect to the excel shhet and to modify the data. I just need the code to add a column. When i use field.append i get Invalid Operation.
- Thank you.
DataTable/Excel -
I have a datatable populated with data from an Excel spreadsheet.
What I want to do now is loop through each row and column.
I want to find out on each row and the current column, on if the columnName is the specified start column name. It will then continue on collecting the na
VBA - Excel Column Format -
In Excel sheet
Select Column--> Right Click --> Format Cell --> Text
This will make the column as text field column, so that we can enter alpha numeric values (eg:0001123).
Is it possible to do from visual basic code to set the column property.
Please do reply @ you
adjust excel column in vb code -
i want to resize the column width of excel by using vb codes so that column B will have a length of 33 and column C will have a length of 23. How do i do that? i'm using vb 6.0 by the way. thks!
[2005] Retrieving data from SQL 2000 dataase and dumping into an Excel file -
I need to create a report in ASP.NET that will retrieve data from a SQL Server 2000 database and dump it into an Excel file, which would be displayed on the screen. I know how to retrieve the data but unsure on how to send it to Excel. Also, I need to dump certain fields into certain
Sending in Column format -
Hopefully, this will be the last questions I have. First of all, I'm trying to send data to Excel in column format where all the labels go down the first column instead of across the first row. What I'd like to know is if there's a way to do this in Access. Also, if I am using an ol
MS Excel Macro for validating unique entries in the column -
Hi,
I need to validate a column in Excel for its uniqueness. This column should accept only unique values. The function should iterate through the entire column to compare the string with all the previous and next cells in the column. How can i do this using a function n not any formu
Can VBA do this in Excel -
I have several thousand records in Excel that are a Name in Column A and City, State, Phone# all in Column B. Is it possible to move the phone number out of Column B and put it in Column C or copy it and put it in Column C? This is to create an emergency phone list.
The phone number i
Sorting a dataset column -
I have loaded and populated a dataset from an Excel file. I need to know how to sort the values in each column in ascending order. I looking into some examples but most of them has predefined column headers by which they are sorted. In this case there is no column header. I am dealing
Excel 2003 - Get certain column from all XLS in a directory -
Hi all,
Excuse my completely newbie question but I have virtually no experience with programming Excel. What I'm trying to do is grab addresses from a certain column on a certain sheet from many Excel files in a directory
So my task is:
-Loop through all Excel files in a certain
Excel and removing duplicate rows -
Gentlemen and Ladies:
a quick question....i have an excel sheet, with two columns having numeric content.
I want to compare every row from column B against the whole column A to scan if its in that list...if it is, then it should be placed in column C, and if its not, thenin Column
Excel For... Next -
Does any one have a example of a For Next in Excel.
I need one that looks at 3 columns if all the data matches then turn that line red.
Ex. Column a = 123 or 321, Column b = TX or CA, Column c = LL or CC
Line-Column on 2 Axes from VB -
There is an custom type chart in MS-Excel that is Line-Column on 2 Axes.I am using
Ms Excel Object Library 9.0 in my VB program as reference and creating a chart in Excel. But how can I crete a graph of charttype Line-Column on 2 Axes.I tried all the charttypes present in the list.
Excel...Returning values -
I have two sheets in Excel.
Sheet1 has Social Security Numbers in Column A
and there names in Column B. This sheet never changes.
Sheet 2 is data that changes daily, but only has SSN's and no names tied to the data. So I want this sheet to grab the cooresponding names from Sheet 1
Keeping First Column Fixed in an Excel Using VBScript -
Hi All,
I have written a VBScript to create an Excel sheet which imports data from MS Access Database tables. Now the first column is the main column for this Excel sheet. As the tables of MS Access DB has lot of data, we have to scroll down to the end to look at data. But when we s
Excel to text -
Hi,
I have 2 sets of data in Column A and B in an excel sheet. I need to export these 2 columns in 2 separate text files (Column A to textfile1.txt, Column B to textfile2.txt). Can someone help me with the src code?
Regards,
Kavitha
Freezing a Row and/or Column in an Excel Control on a Form -
I have an Excel Control embedded on a VB Form displaying data. I have formatted the cells in Row 1 as the Column Headings. Is there any way to "Freeze" this row (through VB) so it doesn't scroll off the screen when the user scrolls down the sheet. There is a "FreezePa
Excel Condition to format cell depending on a range of data -
Hi,
I've been having some problems with conditional formatting in excel, let me explain what I would like to achieve.
Basically I have one column that is going to contain dates, I need this column to highlight any cell in it which doesn't match a list of specified dates in anot
Excel Function or VBA -
Hello ,
I would like to write an excel function or a VBA function in Excel, What it will do is:
If the amount in column N is more that zero, Go and look at column D and E and F by choosing the latest date from these three columns and then putting the difference in dates between that
Excel VBA - How to know when code will fire -
In my Excel spreadsheet there is a column for "Age" where the age of a person is entered. I'd like the next column to display the patients "age group" (e.g. 30-39, 40-49, etc). I tried using a nested IF statement in Excel to do this but I have more conditions than E
EXCEl Question... --> RESOLVED :) -
OK, I know this is not the right place, but I never see anyone in the VBA forums.. So I am trying here..
I have an excel spreed sheet. One column has a series of dates. In the next column I need to deisplay the number of days old the date in the column next to it is. I need to do th
[2005] Very strange Excel problem... -
Ok,
I have a web application that reads in data from an Excel spreadsheet. Seems to work fine, but I'm getting some strange behavior from one of the Excel columns.
Here is the scenario:
A user uploads a spreadsheet, the app reads in the data from all the columns. On this part
Consolidating Excel Files -
Howdy:
I have some quick questions about Excel in VB6. Let explain, I need to consolidate many excel files into one (All excel files are identical!). I am not looking for anyone to to the work for me, I just need to get started in right direction. Thanks
Example:
I have a new
Visibility of Record Column -
How can I set the value of a column to "Hidden" in a returned recordset?
I need to call the values from that column, but I don't want to values to be displayed (or copied in my case).
I am transferring records from Access to Excel (based on a SQL query), but don't wan
[02/03] Not retreiving data from excel cell -
hihi,
i have been trying to get the correct data from excel using dataset or reader, but still to no valid. i am able to retreive some column data correctly in which it have the same column format like number and text or general. if i edit the one of the cloumn cell with text format
List duplicates in Excel -
I am needing to create a list in Excel from one column in sheet 1 that will make up the list in a different column. The problem I have is that the 1st column(that will populate the list) may have the same entry in it several times along with several distinct entries. I dont wont to s
Change Files -
I have two columns in excel (C Column with the name SOBP and D Column with the name ORG Code). I want whenever there is a value 639120600 on the column D to be placed the number 639 on the Column C using vba. Does anyone knows how can i do that, because whatever i ve tried it didnt wor
SQL Stored Procedure & Excel -
What would be the best performance and logic for designing a sp to update data in an Excel column. The source column
contains job numbers and the destination column will contain various status data. There are over 2,000 job numbers
on a multiuser workbook.
I know cursors are evi
How to move Excel columns in VB -
Hi,
I am modifying an Excel worksheet in a VB program.
I want to move columns around (eg. column 12 should become column 18 and column 18 should become column 12).
How can I do that?
Thanks
Saharan
Excel, end column plus 1 -
i would like to move to the column after the last column that contains data, but with out specifying a column letter to enure that this postion will be kept should any other colmns be added resulting in the very end column becoming a different letter. Can anyone provide any advice or e
[2005] insert column name in excel -
Hi guys,
Does anyone know how to insert the column name of a table in excel? each time I click on generate, I get a different report depending on the columns I choose, but i only get the data inserted without the column name...
thanx guys...
[2005] Set Excel Column Widths -
OK I'm almost finished with this I can get all the data to Excel worksheet. But how do I set each column width to autofit (I want to do the whole sheet of 41 columns).
How to read the column value from Excel sheet to VB6.0 -
Hi,
I need to read the column value from excel sheet to VB6.0.
How i can connect the existing Excel sheet to VB and read the column values?
Reply is urgent...
thanks in advance
Extracting data from MS Excel -
Hi! Everybody
I got a strange problem. If you have any solution let me know.
I am working on a project where i need to extract data from MS Excel and insert the data in SQL Server. I could extract data very well. But the problem arises when a column have a mixed data type.
I e