Results 1 to 2 of 2
  1. #1

    Default excel vba manipulating cells


    Need your help mga boss about excel programming. Naa koy ge copy paste nga data from our SAP GUI to excel. Ang purpose lang sa program is to automate some calculations(summation, mult etc.). Ang data nga ma paste nako contains combination of space and numbers. (ex. A1 contains ___12.00__), and blank space for empty values(A2 is _____). Now the problem is pag gammit nako ug function sa excel like =sum(A1:A2) dli cya mu return ug value kay dman numbers ang sulod sa cell.

    i tried functions like trim(), int(cell(1,1).value), pero di gehapon mu return ang =sum() nga function. unsa may inyu ma suggest nga code?


    Salamat!

  2. #2
    Murag karaan na kaayo ni post dah? hehe

    By the way bro, before doing any calculations you need to remove extra characters you don't need. like the underscores.
    If you're using Excel 2007 or earlier.
    Go to Data Tab> Choose Text to Columns> then pwede na nimo ma format ang data and remove the unnecessary characters.
    Pwede nimo maseparate tanan numbers from characters.

  3.    Advertisement

Similar Threads

 
  1. Microsoft Excel VBA Macro
    By oODeathNoteOo in forum Programming
    Replies: 5
    Last Post: 02-13-2012, 04:07 PM
  2. Import Excel VBA macro to Open Office 3 Calc
    By cliff_drew in forum Programming
    Replies: 1
    Last Post: 09-10-2010, 12:00 PM
  3. excel vba help!!!
    By deaf_guitarist in forum Programming
    Replies: 11
    Last Post: 09-06-2010, 07:35 AM
  4. VBA: copy CELL data from EXCEL1 to EXCEL2
    By Hot Ice in forum Programming
    Replies: 2
    Last Post: 09-17-2008, 09:27 PM
  5. VBA Excel, I need your expertise!
    By schatz793 in forum Programming
    Replies: 8
    Last Post: 08-05-2006, 03:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top