For most database-backed projects I've worked on, there is a need to get "startup" or test data into the database before deploying the project. Examples of startup data: a table that lists all the countries in the world or a table that lists a bunch of colors that will be used to populate a color palette.
I've been using a system where ...
basically i have one column (C) that contains all the keywords
and another column(B), which is the one i want to search in.
there is column A, right beside B, which contains ID number.
I want to search all values in column c against column B, and obtain the relevant ID number.
...
http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
on that Alexa domain ranking spreadsheet (top 1 million domains in the world)
A column contains domain ranking, B column contains domain name (for those not familiar)
On a D column, I put
=VLOOKUP("dog",A1:B1000001,1,TRUE)
and it returns #N/A
How come Vlookup is not working ?
Usin...
I have a time field of this format HH:MM:SS in many excel cells (when i import in as a csv).
i would like to Attached the date field from another worksheet in and when I tried to concatenate =U10&" "&V10, let's said
U10 is 22-Dec
V10 is 18:14:01
will become
40169 0.759733796296296
so how can i convert a number like 0.7597337962962...
How do I force Excel to download http://api.eve-central.com/api/evemon, parse it and format the values in a table?
I tried importing the XML and it worked, but I don't know what to do from here.
Thanks!
...
Hi All,
Have an SSIS 2008 package that runs just fine on my local dev machine with Office 2007 installed. It has a script task with interop.excel as a reference. (I'm reformatting some excel sheets with it)
So everything works like a champ until I install and run it on my test SQL 2008 (Server 2008 64bit) server. I install to SSIS, e...
I am running into an issue with Excel 2007 via VSTO 3.0. In my project, I need to shuffle columns around occasionally. Normally, this works fine but I have recently found that an issue arises when the data is filtered and the fitlered data is non-contiguous.
For example, using this data set:
Ohio Eastern
Kentucky Eastern
Ill...
I'm analyzing data based on x consecutive working days, M-F (and later skipping selected holidays). My plan is to take MM-DD-YYYY and determine the day of the week.
How can I do this in VBA?
I found this simple way using .NET but how do I call from Office 2007 VBA, and what reference do I need to add?
DateTime.Parse("2009-10-02"...
I need to populate a database with thousands of entries on a daily basis, but my code at the moment manually inserts each one into the database one at a time.
Do While lngSQLLoop < lngCurrentRecord
lngSQLLoop = lngSQLLoop + 1
sql = "INSERT INTO db (key1, key2) VALUES ('value1', 'value2');"
result = bInsertIntoDatabase(sql, T...
Hello All,
I really dislike making Excel Macro's :-(
Here is the typical string I am working with:
· Identify & document
site-related constraints and
assumptions.
I would like to scrub that string to get rid of everything before "Identify"...
I wrote a function to take the string and scrub it, here it is:
Function d...
Greetings one and all - a christmas puzzle for anyone still looking at this site...This works but if i decide to cancel the process (ie not save a file and stop the process at this stage) it doesn't svae the file but the following marco (filltolastrow2) is still activated how can I stop this happening?
Public Sub SaveaCopyIncomeSheet()
...
Background:
I toasted my old hard drive at work and am getting a new one. With that I'll have to rebuild my machine. My manager has Windows 7 installed on him loaner laptop that I've been using while my machine is out of commision. But I've run into a problem.
We have a fair number of apps that make use of the Microsoft.Office.Interop.E...
Does anyone know of a way to make Excel 2003 push changes to a MySQL database?
Currently, we're using Excel 2003 for keeping track of a big bunch of interconnected equipment (actually, an entire electric power distribution system with all the hoo-ha's that hang off it.) Quite frankly, using a spreadsheet for this sucks and I'm sick of i...
Hi
I have a template which is used in every worksheet opened, it conttains items #'s and description of each product so for example if i am adding Milk the new sheet with be default sheet the template will contain the data of the milk including item # product name etc...
so problem is now i have so many products i want to mak...
I need help every time i run this code i get the same error
Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataView'.
the code is
Dim plmExcelCon As New System.Data.OleDb.OleDbConnection
Dim cmdLoadExcel As System.Data.OleDb.OleDbDataAdapter
Dim PrmPathExcelFile As String
PrmPathExcelFile =...
I recieve the following error: The server {00024500-0000-0000-C000-000000000046} did not register with DCOM within the required timeout.
Can anyone lend some insight to the problem?
Thanks.
...
Hello,
We have a requirement to parse a file and write the data to an excel file using C++. I did a search and able to find a project which serves my purpose. http://www.codeproject.com/KB/office/ExcelFormat.aspx
Please find a few lines of code below where exactly the errors occur.
typedef std::ctype CT;
CT const& ct = std::_USE(st...
Hello people!
I'm trying to write an Excel Function that grabs the data out of a neighboring cell in the same row. What is the proper function to do this? I've been searching for hours and cannot find it.
Thank you!!!
...
An Excel table consists of two columns (e.g., A1:B5):
0 10
1 20
3 30
2 20
1 59
I need to get the minimal value in column B for which the corresponding value in column A is greater than zero. In the above example it should be 20.
I tried using various combinations of INDEX(), MIN(), IF(), ROW(), array formulas, etc. - but I just can't ...
Hi ,
is there a function in excel which can find the index of the row for a particular value É
ie if I write function(5.77) it will return 5 , because 5.77 appears in row 5 .
'1 Frequency
'2 4.14
'3 4.19
'4 5.17
'5 5.77
'6 6.39
...