Results 1 to 4 of 4
  1. #1
    tomlam is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    10

    VBA code for count w and write into another column in excel

    Hi all

    I face a problems that is i need to count how many w in column B and write into column C frequently in Excel .how to write VBA code to automatic
    count and write total w as follow column c. Because i need to estimate the performance of thousand of students frequently

    Column A column B column C


    peter good;(2w2w)slow 4w
    mary good
    john not bad(1w1w1w1w) 4w
    alxe good
    tom bad(2w4w5w3w) 14w
    simon good(1w2w3w) 6w

    Thanks
    Tom

  2. #2
    tomlam is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    10
    Column A column B column C
    peter good;(2w2w)slow 4w
    mary good
    john not bad(1w1w1w1w) 4w
    alxe good
    tom bad(2w4w5w3w) 14w
    simon good(1w2w3w) 6w


  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Since this is an Excel question, it probably belongs in an Excel Forum:

    http://www.msofficeforums.com/excel/

    BTW, all VBA is not created equal! Even Functions with identical names perform differently, depending on the host app!

    Linq ;0)>

  4. #4
    tomlam is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    10
    Thank you competent performer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 06-06-2012, 01:04 PM
  2. Replies: 9
    Last Post: 05-29-2012, 11:03 AM
  3. i want to show description when i write the code
    By Mina Garas in forum Access
    Replies: 3
    Last Post: 02-23-2012, 11:00 AM
  4. How To Write Vb Code For This?
    By townguy in forum Queries
    Replies: 1
    Last Post: 09-15-2011, 12:00 AM
  5. Trying to write a simplet vba code
    By bopsgtir in forum Programming
    Replies: 6
    Last Post: 03-12-2011, 08:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums