Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default entering data from a serial port to excel

Iam collecting data form a serial port, the data is in this format
01a+0001.412, how do I get remove the first 7 bytes of data. I want the final
data of 1.412.
thanks
--
David C
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default entering data from a serial port to excel

Mid("01a+0001.412", 8)

RBS


"David C" wrote in message
...
Iam collecting data form a serial port, the data is in this format
01a+0001.412, how do I get remove the first 7 bytes of data. I want the
final
data of 1.412.
thanks
--
David C


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default entering data from a serial port to excel

dbldata = Dbl(Right(sdata,len(sdata)-7))

--
Regards,
Tom OGilvy


"David C" wrote in message
...
Iam collecting data form a serial port, the data is in this format
01a+0001.412, how do I get remove the first 7 bytes of data. I want the

final
data of 1.412.
thanks
--
David C



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
probing the serial port for data Jeff[_42_] Excel Programming 1 December 6th 04 12:00 AM
Can I use serial comm port in Excel VB script? bt.newsgroup.com.hk Excel Programming 3 May 20th 04 09:07 AM
serial port data acquisition jgseas Excel Programming 2 March 3rd 04 04:33 PM
Excel and the Serial Port Hotbird Excel Programming 1 November 27th 03 11:10 PM
serial port mscomm32.ocx in excel Brian Excel Programming 0 July 25th 03 11:22 PM


All times are GMT +1. The time now is 08:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"