+ Reply to Thread
Results 1 to 5 of 5

Pls help add comments to this code

  1. #1
    Registered User
    Join Date
    04-12-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    96

    Question Pls help add comments to this code

    Hello, i need to understand this code step by step, but i am a VBA beginner. So need someone to help to write down the comments detaily for me . Greatly appreciated!

    Please Login or Register  to view this content.
    Last edited by yjmmay34; 04-27-2010 at 03:44 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Pls help add comments to this code

    It would help if you supplied a workbook that went with the code, please don't expect somebody to design a workbook that works with your code, and then have to figure out how it works.

    What is the code supposed to do?
    Last edited by davesexcel; 04-21-2010 at 12:30 AM.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Pls help add comments to this code

    Most of the variables aren't declared either
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    04-12-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Pls help add comments to this code

    Quote Originally Posted by davesexcel View Post
    It would help if you supplied a workbook that went with the code, please don't expect somebody to design a workbook that works with your code, and then have to figure out how it works.

    What is the code supposed to do?
    hi,
    it's like pull data from several workbooks (for example report 1 and 2) and accumulate those data in only one new workbook (MyProgram.xls) . those sheets in MyProgram file should be separated by the customer name and Geometry, and the data(Quantity sum) have to be fill in the correct sheet and go into the cell acooding to the week and Month.
    Thanks a lot.
    Report1.XLS

    Report2.XLS

    MyProgram.xls.xlsx

  5. #5
    Registered User
    Join Date
    04-12-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Pls help add comments to this code

    Quote Originally Posted by royUK View Post
    Most of the variables aren't declared either
    hi, royUK. i have a question here. Can month compare to month like Jan < Mar, then delete the value of the Jan and just leave it blank??? because i only know that numbers can compare to each other, then how about the month in word form,is it possible?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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