Results 1 to 4 of 4

Thread: to Read content from one excel file and paste that in master excel in one column

  1. #1
    New Member
    Join Date
    Jul 12
    Posts
    3

    to Read content from one excel file and paste that in master excel in one column

    Hi,

    I want to read a particular application from a excel (current) and count it the number of times it has appeared in the excel.
    Then in my master excel i have defined these applications, i want to create a column with name as "Aug 20" and corresponding to the application in excel it should add the count in master excel.
    If there are not applications found in current excel then in master excel i want to add the count value to corresponding application in master excel as 0.

    Please let me know how this can be achieved. I am not getting the logic to do this

    Thanks!

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 01
    Location
    Searching for mendhak
    Posts
    58,283

    Re: to Read content from one excel file and paste that in master excel in one column

    Moved From The CodeBank (which is for sharing code rather than posting questions )
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  3. #3
    Fanatic Member KGComputers's Avatar
    Join Date
    Dec 05
    Location
    www.vbforums.com
    Posts
    550

    Re: to Read content from one excel file and paste that in master excel in one column

    You could start by adding reference to Microsoft Excel Object Library in your application. Then, familiarize with Excel classes such as worksheet, workbook, range and etc...
    There, you can open/add columns and format excel values and the like..

    Cheers!

  4. #4
    Fanatic Member KGComputers's Avatar
    Join Date
    Dec 05
    Location
    www.vbforums.com
    Posts
    550

    Re: to Read content from one excel file and paste that in master excel in one column

    You could start by adding reference to Microsoft Excel Object Library in your application. Then, familiarize with Excel classes such as worksheet, workbook, range and etc...
    There, you can open/add columns and format excel values and the like..

    Cheers!

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
  •