Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim Scheffler
 
Posts: n/a
Default Working with mac addresses

Hello group,

Anyone have experience working with mac addresses in Excel
2002 either with VBA or worksheet functions?
Here's my problem, I import text and csv files with hundreds of mac
addresses in to spreadsheets and run reports on them doing VLOOKUPs and so
on.
The problem is when a mac starting with 000 and has all numbers in it the
first two or three zeros get cut off, ie mac 000123456789 ends up 123456789
after import. Also sometimes Excel will format the mac as scientific
notation if the mac ends with zeros, ie mac 000123456700 ends up 1.23E+08.
I've tried formating the mac column I'm importing as text in the import
wizard but it still formats some macs as above. I've tried to format the
column as text in my spreadsheet before I import the macs but still I get
some macs that don't import correctly.
Any ideas or web links would be greatly appreciated.

Jim Scheffler


  #3   Report Post  
dlv
 
Posts: n/a
Default

In the text file, put quotes, or single quotes around the number "000... or
'000...
or, try a single quote inside a quote, like " ' 000...

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If you rename the *CSV files to *TXT they will open in the text import
wizard, if you click next twice to go to step 3 you can set the import as
text under column data format, then click finish


Regards,

Peo Sjoblom


"Jim Scheffler" wrote:

Hello group,

Anyone have experience working with mac addresses in Excel
2002 either with VBA or worksheet functions?
Here's my problem, I import text and csv files with hundreds of mac
addresses in to spreadsheets and run reports on them doing VLOOKUPs and so
on.
The problem is when a mac starting with 000 and has all numbers in it the
first two or three zeros get cut off, ie mac 000123456789 ends up 123456789
after import. Also sometimes Excel will format the mac as scientific
notation if the mac ends with zeros, ie mac 000123456700 ends up 1.23E+08.
I've tried formating the mac column I'm importing as text in the import
wizard but it still formats some macs as above. I've tried to format the
column as text in my spreadsheet before I import the macs but still I get
some macs that don't import correctly.
Any ideas or web links would be greatly appreciated.

Jim Scheffler



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
how do I adjust working calendar (6 day work week) in excel that . Hatem Excel Worksheet Functions 1 January 25th 05 12:04 PM
Using CONCATENATE function to create email addresses from a list Almamba Excel Worksheet Functions 2 January 23rd 05 09:10 PM
Problem Working with Named Ranges montgomerymouse Excel Discussion (Misc queries) 1 January 10th 05 10:45 PM
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. ragman10 Excel Discussion (Misc queries) 1 December 13th 04 11:52 PM
Editing Multiple E-Mail Addresses... foofightin Excel Worksheet Functions 5 October 28th 04 07:40 PM


All times are GMT +1. The time now is 02:17 PM.

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

About Us

"It's about Microsoft Excel"