Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel to XML: Need some help fine tuning a macro

Hey all,
I've downloaded a Macro http://meadinkent.co.uk/ and have been editing
it get the exported XML to appear as required, however I can't seem to
get the 2 of my fields to display correctly.

There are two fields which have numbers in but are formatted as text
because I do not want them rounded up.

One cell has -0.08162498 in it and in the exported XML doesn't even
appear.
Another cell has 51.51891794 in it and in the exported XML appears as
52.

My question is how can I get the information to appear as I've typed
it in rather then rounding it?

I have changed the 'Function FormChk(RowNum As Integer, ColNum As
Integer)' to have more # in the length of the value but it doesn't
work, I believe this could be because the cells are not formatted as a
number.

Macro code: http://meadinkent.co.uk/myxml/XL_to_XML.txt

Gary
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
Help fine tuning delete macro mattg Excel Programming 5 June 12th 09 04:23 PM
Fine Tuning Gordon[_2_] Excel Programming 1 September 24th 08 07:13 PM
help w/ fine tuning Mike New Users to Excel 1 October 19th 05 08:58 PM
Fine tuning if statement.... Derek Witcher[_2_] Excel Programming 6 October 12th 04 04:07 PM
Fine-tuning selection change event for merged cells & wrap text Lucy Barber Excel Programming 0 September 7th 04 10:10 PM


All times are GMT +1. The time now is 01:04 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"