Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2011, 12:05 PM
niuri_cigarete niuri_cigarete is offline Converting data-table into coding text Windows 7 64bit Converting data-table into coding text Office 2010 64bit
Novice
Converting data-table into coding text
 
Join Date: Dec 2011
Location: Vilnius
Posts: 2
niuri_cigarete is on a distinguished road
Default Converting data-table into coding text

Hey everyone,

I've ran into this problem and can't seem to find an easy and fast solution. I have a large amount of data stored in table such as this:


I need to rewrite or convert it to a code where each data line would look like this:

<measure>
<observation-time>2011-02-10T00:15Z</observation-time>
<at>-4.5</at>
<td>-11</td>
<pi>1</pi>
<ws>1.7</ws>
<sc>33</sc>
<st>-3.3</st>
<sst>-0.9</sst>


</measure>

Any ideas how can I do this in an easy and fast way? I'm familiar with macros but I'm only at a beginner level.

I would really appreciate the help!
Reply With Quote
  #2  
Old 12-09-2011, 02:03 PM
macropod's Avatar
macropod macropod is offline Converting data-table into coding text Windows 7 64bit Converting data-table into coding text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi niuri,

Since this is probably for output in text format, I'd suggest a Catalogue/Directory mailmerge in Word, with your Excel workbook as the data source. With that, you can easily add the relevant coding between the data fields. No macros required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 12-10-2011, 02:57 AM
niuri_cigarete niuri_cigarete is offline Converting data-table into coding text Windows 7 64bit Converting data-table into coding text Office 2010 64bit
Novice
Converting data-table into coding text
 
Join Date: Dec 2011
Location: Vilnius
Posts: 2
niuri_cigarete is on a distinguished road
Default

Hi again,

I've never used this mail merge tool, can you explain a bit more? I can't understand how does it work

Edit: Never mind! I've figured it out myself. Thanks a lot for your help! You saved me a lot of time...
Reply With Quote
Reply

Tags
code, data, excel 2010

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extreme Color Coding Outlook boodmatt Outlook 0 06-27-2011 02:13 AM
Converting data-table into coding text Use changeable table data in doc text? rtlight Word Tables 4 02-25-2011 07:29 PM
Converting data-table into coding text extracting data from Table to text file Anirudh_Dsp Word Tables 1 05-23-2010 07:48 AM
Converting MSWord table to MS Excel spreadsheet MiaLouise Office 1 03-09-2010 10:08 AM
Converting document to PDF but table of contents doesn't work luthers Word 0 07-30-2009 03:29 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft