TCP/IP Data Import

MachineDr

New Member
Joined
Jun 27, 2008
Messages
2
I have an application I'd like to develop and I believe it can be done through Excel. If anyone can help me determine if what I want to do is feasible and point me in the right direction I would appreciate it. I'm not an Excel expert but can make my way around it ok. I'd like to develop this but I know that I just don't know enough about the advanced features of Excel to pull it off myself.

I will create a template spreadsheet. It will be reused each day and will need to be saved at the end of each day. A new filename will be supplied each day. A triggering method will be provided to open it and close it. A new filename will be supplied each day.

I expect this will be a read only file which will be renamed automatically and saved as the assigned filename at the end of each day.

I have a device which will provide me a data string via TCP/IP containing 20 characters of data. I wish to store each string in a single column using sequential rows, one row for each string.

In short this will be a one column spreadsheet which will list each string received in it's own row.

I did search the forum and found that someone recommended a CSV file but I do not believe that I have the ability to do this as I will be connected directly to the device and receiving live data which needs to be logged. This has to be an automatic process and I cannot store to a CSV and then import the data into Excel.

I also have the possibility of having more than 65536 pieces of data arriving in a day. I'm using Excel 2003 and am not sure if that number (rows) has increased in later versions. If that is the max I will need to build in some inteligence to trap at a specific number and start a 2nd column from and fill it in with the data from top to bottom.

If anyone could make some suggestions on how to pull this off I would appreciate it. I'm not looking for someone to do the work but rather point me in the right direction(s). Also, if it isn't feasible in Excel 2003 and a later version would suit my needs better please let me know.

Thanks in advance for your help!

-MachineDr
 

Tom Schreiner

Well-known Member
Joined
Mar 18, 2002
Messages
6,867
"I have a device which will provide me a data string via TCP/IP containing 20 characters of data. I wish to store each string in a single column using sequential rows, one row for each string."

No problem. Excel would be fine for this if that is the only development environment available to you.

This kicker is the above quote. How is this data being plugged into Excel? A DDE link? Automation? RTD? Provide some details about this. Your other questions relating to what to do with the data after it is in the spreadsheet are elementary... :)
 

MachineDr

New Member
Joined
Jun 27, 2008
Messages
2
Tom,

Thanks for mentioning that. I am 99% sure that this data will be available via DDE.

-MachineDr
 

Tom Schreiner

Well-known Member
Joined
Mar 18, 2002
Messages
6,867
Ok. Post back when your link is up and running. I will know which questions to ask you then...
 

Forum statistics

Threads
1,081,845
Messages
5,361,665
Members
400,643
Latest member
RockStar89

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top