+ Reply to Thread
Results 1 to 3 of 3

Hello there! Help me Create macro that converts KG to Metric Ton, Newbie in excel

  1. #1
    Registered User
    Join Date
    09-29-2014
    Location
    Singapore
    MS-Off Ver
    Office 2010
    Posts
    2

    Thumbs up Hello there! Help me Create macro that converts KG to Metric Ton, Newbie in excel

    Good day,

    I used ODBC to output the data into excel cell but dont know how to convert the KG to MT on that specific cell, do i need a macro or just a simple mathematical
    equation, i already so a simple equation but my problem is once i pump data on the excel, information will start fill after the rows with formulas.

    Please see the sample output file,Database Output.xlsx

    Ill be glad if there's anyone out there can help and suggest.


    Thanks in Advanced :-)

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Hello there! Help me Create macro that converts KG to Metric Ton, Newbie in excel

    Hi, welcome to the forum

    I have not loaded your file, but take a look at the =CONVERT() function
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-29-2014
    Location
    Singapore
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Hello there! Help me Create macro that converts KG to Metric Ton, Newbie in excel

    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    I have not loaded your file, but take a look at the =CONVERT() function
    I already tested that one but if that cell contains formula, my data pump will starts after the rows with formula, that why im thinking that used the macro and do the conversion on the specific cell, can refer on the attached file, sorry very new in excel macro thanks :-)
    Last edited by Bossmaster; 09-30-2014 at 12:28 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Convert a metric number to grams in excel
    By gtz101 in forum Excel General
    Replies: 7
    Last Post: 06-28-2014, 05:59 AM
  2. Replies: 2
    Last Post: 06-20-2012, 03:37 PM
  3. Replies: 2
    Last Post: 06-20-2012, 03:01 PM
  4. Excel Macro/VBA Program That Converts To CSV
    By np123345 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-23-2008, 02:53 PM
  5. [SOLVED] Does anyone have an excel macro that converts states to 2 digit f.
    By Bryghtfalcon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2005, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1