+ Reply to Thread
Results 1 to 5 of 5

get cell value accordingly

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

    Question get cell value accordingly

    I am writing a macro to automatically get values from one workbook to another new workbook based on the according Week and Month. i only attached week13 's data. but i will have week14,week15 and so on. which means there will be several spreadsheets and i have to write macro in the workbook(" WaterfallChart") to antomatically get those values to according cells. can anyone please help me with this part ? Thanks a lot.
    Attached Files Attached Files
    Last edited by yjmmay34; 04-27-2010 at 03:46 AM.

  2. #2
    Forum Contributor
    Join Date
    02-04-2010
    Location
    Hertfordshire, England
    MS-Off Ver
    Office 2007 (home) Office 365 (work)
    Posts
    134

    Re: get cell value accordingly

    Hi yjmmay34

    Please find attached an amended Waterfallchart file. The macro works on the assumption that the weekly files would be in the exact same format as the sample file provided.

    Please let me know if you have any problems with the file.

    Regards
    Attached Files Attached Files

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

    Re: get cell value accordingly

    Thank you very much. I thought the code could run the different format file, but if not, i will save the file in the format as below i attached . there are only two example report, i still have more reports like this which in different week and month. Could you please show the code to run the macro automatically under this situation?? Thank you so much!
    Attached Files Attached Files
    Last edited by teylyn; 04-26-2010 at 06:18 AM. Reason: cleanup

  4. #4
    Forum Contributor
    Join Date
    02-04-2010
    Location
    Hertfordshire, England
    MS-Off Ver
    Office 2007 (home) Office 365 (work)
    Posts
    134

    Re: get cell value accordingly

    Hi yjmmay34,

    Sorry for the delay in getting back to you.

    I have revised the file, to be executed on the new format you sent me.

    Also you have the option to select a number of files at the same time and the code will update either layout based on the active sheet you are in when you execute the code.

    Please let me know if you have any problems.

    Regards
    Attached Files Attached Files

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

    Re: get cell value accordingly

    Hi, excelxx. Thank you for helping me with the code. But i i have another problem. i have the "Event Date Year" and "Event Date Month" here which is something like customer forcast. And in column "I" there is "Month Refresh". what i want is that any current year(2010) month is past compare with the "Month Refresh", the Quantiti Sum should be deleted. I wrote code like this, but cannot work. Please help me modify it if there is any mistakes. there is attachmentbelow and the format is fixed. only the Month Refresh and Quantity Sum will be changed. Greatly appreciated!
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by teylyn; 04-26-2010 at 06:19 AM. Reason: cleanup

+ 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