Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-17 Thread SG
hi Paul,
 
Sorry for the inconvenience.PFA file  names of excel file are 1,2,3.
Please suggest.

On Friday, December 14, 2012 9:03:11 PM UTC+5:30, Paul Schreiner wrote:

   I don't think we can work that way...
  
 You're using someone ELSE's macro with YOUR files and folders
 and you've admitted that you've edited the macro a little bit...
  
 and you want us to suggest how to fix it without seeing 
 the macro, your files and folders, and what edit's you've done?
  
 Well.. I GUESS I could suggest one thing:
  
 please give us more information.
 Perhaps attach a file.
  
 At the LEAST, attach the macro and tell us what your file names and folder 
 names are...
  

 *Paul*

 -
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-


  --
 *From:* SG sona...@gmail.com javascript:
 *To:* excel-...@googlegroups.com javascript:
 *Sent:* Fri, December 14, 2012 10:11:52 AM
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

 thanks but the macro is not entering in to the loop.
 I have edited the macro lil bit at my end.I have removed the part which is 
 for saving the complied file  i think it's not going to effect anyway.
 please suggest..

 On Friday, December 14, 2012 8:31:22 PM UTC+5:30, Rajan_Verma wrote:

  *Ok,*

 * *

 *Open Visula Basic Editor*

 *Goto the Tool- Reference –Select **Microsoft scripting runtime***

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] *On 
 Behalf Of *SG
 *Sent:* 14 December 2012 8:26
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 may be i'm silly with the question, but really not getting it that you 
 have replied.
  

 On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:

  *Ah..*

 * *

 *You can add reference “Microsoft scripting runtime”*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] *On 
 Behalf Of *SG
 *Sent:* 14 December 2012 7:54
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 hi Rajan,
  
  
  
 Thanks for the reply.I have taken the macro from 2nd link.
  
 However on running the macro, the code in 4th line
  
 'Dim Fso As New Scripting.FileSystemObject' 
  
 gives an complie error 'user-defined type not defined'.
  
  
  
 please help on this.
 On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

  *See if it helps*

 * *

 *1)**  **http://excelpoweruser. wordpress.com/2012/06/07/ 
 compile-worksheets/http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/
 *

 *2)**  **http://excelpoweruser. wordpress.com/2011/08/12/ 
 compiling-workbooks-2/http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/
 *

 *3)**  **http://excelpoweruser. wordpress.com/2011/07/06/ 
 compiling-workbooks/http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/
 *

 * *

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] *On 
 Behalf Of *SG
 *Sent:* 14 December 2012 7:19
 *To:* excel-...@googlegroups.com
 *Subject:* $$Excel-Macros$$ Consolidating Multiple files

  
  
 Hi Experts,
  
  
  
 I need your help in one of my problem.I want to consolidate the 
 multiple excel files of a folder with same name  numbered as 1,2,3 in to a 
 one excel file.I have tried but unable to create a macro on it.There is 
 only one criteria in this consolidation is that on column D of every sheet 
 is a date.What i want is to extract the data on basis of a particular week 
 number let's say we are in week 50  i want the data of week-49.Currently 
 i'm doing this manually.I apply the weeknum formula in column where data 
 gets end let's say that's column M  then extract the data.
  
  
  
 Please help me on this with a macro  thanks in advance.

 -- 
 Join official Facebook page of this forum @ https://www.facebook.com/ 
 discussexcel https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners

Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-17 Thread SG
experts please help me with this.i have also attached the file .

On Monday, December 17, 2012 1:59:39 PM UTC+5:30, SG wrote:

 hi Paul,
  
 Sorry for the inconvenience.PFA file  names of excel file are 1,2,3.
 Please suggest.

 On Friday, December 14, 2012 9:03:11 PM UTC+5:30, Paul Schreiner wrote:

   I don't think we can work that way...
  
 You're using someone ELSE's macro with YOUR files and folders
 and you've admitted that you've edited the macro a little bit...
  
 and you want us to suggest how to fix it without seeing 
 the macro, your files and folders, and what edit's you've done?
  
 Well.. I GUESS I could suggest one thing:
  
 please give us more information.
 Perhaps attach a file.
  
 At the LEAST, attach the macro and tell us what your file names and 
 folder names are...
  

 *Paul*

 -
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *-


  --
 *From:* SG sona...@gmail.com
 *To:* excel-...@googlegroups.com
 *Sent:* Fri, December 14, 2012 10:11:52 AM
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

 thanks but the macro is not entering in to the loop.
 I have edited the macro lil bit at my end.I have removed the part which 
 is for saving the complied file  i think it's not going to effect anyway.
 please suggest..

 On Friday, December 14, 2012 8:31:22 PM UTC+5:30, Rajan_Verma wrote:

  *Ok,*

 * *

 *Open Visula Basic Editor*

 *Goto the Tool- Reference –Select **Microsoft scripting runtime***

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] 
 *On Behalf Of *SG
 *Sent:* 14 December 2012 8:26
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 may be i'm silly with the question, but really not getting it that you 
 have replied.
  

 On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:

  *Ah..*

 * *

 *You can add reference “Microsoft scripting runtime”*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] 
 *On Behalf Of *SG
 *Sent:* 14 December 2012 7:54
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 hi Rajan,
  
  
  
 Thanks for the reply.I have taken the macro from 2nd link.
  
 However on running the macro, the code in 4th line
  
 'Dim Fso As New Scripting.FileSystemObject' 
  
 gives an complie error 'user-defined type not defined'.
  
  
  
 please help on this.
 On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

  *See if it helps*

 * *

 *1)**  **http://excelpoweruser. wordpress.com/2012/06/07/ 
 compile-worksheets/http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/
 *

 *2)**  **http://excelpoweruser. wordpress.com/2011/08/12/ 
 compiling-workbooks-2/http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/
 *

 *3)**  **http://excelpoweruser. wordpress.com/2011/07/06/ 
 compiling-workbooks/http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/
 *

 * *

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] 
 *On Behalf Of *SG
 *Sent:* 14 December 2012 7:19
 *To:* excel-...@googlegroups.com
 *Subject:* $$Excel-Macros$$ Consolidating Multiple files

  
  
 Hi Experts,
  
  
  
 I need your help in one of my problem.I want to consolidate the 
 multiple excel files of a folder with same name  numbered as 1,2,3 in to a 
 one excel file.I have tried but unable to create a macro on it.There is 
 only one criteria in this consolidation is that on column D of every sheet 
 is a date.What i want is to extract the data on basis of a particular week 
 number let's say we are in week 50  i want the data of week-49.Currently 
 i'm doing this manually.I apply the weeknum formula in column where data 
 gets end let's say that's column M  then extract the data.
  
  
  
 Please help me on this with a macro  thanks in advance.

 -- 
 Join official Facebook page of this forum @ https://www.facebook.com/ 
 discussexcel https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material

Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-17 Thread ashish koul
hi

*can you share the input file and final output file too*

Regards
Ashish


On Mon, Dec 17, 2012 at 5:46 PM, SG sonal...@gmail.com wrote:

 experts please help me with this.i have also attached the file .

 On Monday, December 17, 2012 1:59:39 PM UTC+5:30, SG wrote:

 hi Paul,

 Sorry for the inconvenience.PFA file  names of excel file are 1,2,3.
 Please suggest.

 On Friday, December 14, 2012 9:03:11 PM UTC+5:30, Paul Schreiner wrote:

   I don't think we can work that way...

 You're using someone ELSE's macro with YOUR files and folders
 and you've admitted that you've edited the macro a little bit...

 and you want us to suggest how to fix it without seeing
 the macro, your files and folders, and what edit's you've done?

 Well.. I GUESS I could suggest one thing:

 please give us more information.
 Perhaps attach a file.

 At the LEAST, attach the macro and tell us what your file names and
 folder names are...


 *Paul*

 --**---
 *“Do all the good you can,
 By all the means you can,
 In all the ways you can,
 In all the places you can,
 At all the times you can,
 To all the people you can,
 As long as ever you can.” - John Wesley
 *--**---


  --
 *From:* SG sona...@gmail.com
 *To:* excel-...@googlegroups.com
 *Sent:* Fri, December 14, 2012 10:11:52 AM
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

 thanks but the macro is not entering in to the loop.
 I have edited the macro lil bit at my end.I have removed the part which
 is for saving the complied file  i think it's not going to effect anyway.
 please suggest..

 On Friday, December 14, 2012 8:31:22 PM UTC+5:30, Rajan_Verma wrote:

  *Ok,*

 * *

 *Open Visula Basic Editor*

 *Goto the Tool- Reference –Select **Microsoft scripting runtime***

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com]
 *On Behalf Of *SG
 *Sent:* 14 December 2012 8:26
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files



 may be i'm silly with the question, but really not getting it that you
 have replied.


 On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:

  *Ah..*

 * *

 *You can add reference “Microsoft scripting runtime”*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com]
 *On Behalf Of *SG
 *Sent:* 14 December 2012 7:54
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files



 hi Rajan,



 Thanks for the reply.I have taken the macro from 2nd link.

 However on running the macro, the code in 4th line

 'Dim Fso As New Scripting.FileSystemObject'

 gives an complie error 'user-defined type not defined'.



 please help on this.
 On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

  *See if it helps*

 * *

 *1)**  **http://excelpoweruser. wordpress.com/2012/06/07/
 compile-worksheets/http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/
 *

 *2)**  **http://excelpoweruser. wordpress.com/2011/08/12/
 compiling-workbooks-2/http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/
 *

 *3)**  **http://excelpoweruser. wordpress.com/2011/07/06/
 compiling-workbooks/http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/
 *

 * *

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com]
 *On Behalf Of *SG
 *Sent:* 14 December 2012 7:19
 *To:* excel-...@googlegroups.com
 *Subject:* $$Excel-Macros$$ Consolidating Multiple files



 Hi Experts,



 I need your help in one of my problem.I want to consolidate the
 multiple excel files of a folder with same name  numbered as 1,2,3 in to a
 one excel file.I have tried but unable to create a macro on it.There is
 only one criteria in this consolidation is that on column D of every sheet
 is a date.What i want is to extract the data on basis of a particular week
 number let's say we are in week 50  i want the data of week-49.Currently
 i'm doing this manually.I apply the weeknum formula in column where data
 gets end let's say that's column M  then extract the data.



 Please help me on this with a macro  thanks in advance.

 --
 Join official Facebook page of this forum @ https://www.facebook.com/
 discussexcel https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs

RE: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread Rajan_Verma
See if it helps

 

1)  http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/

2)
http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/

3)  http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/

 

 

 

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of SG
Sent: 14 December 2012 7:19
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ Consolidating Multiple files

 

Hi Experts,

 

I need your help in one of my problem.I want to consolidate the multiple
excel files of a folder with same name  numbered as 1,2,3 in to a one excel
file.I have tried but unable to create a macro on it.There is only one
criteria in this consolidation is that on column D of every sheet is a
date.What i want is to extract the data on basis of a particular week number
let's say we are in week 50  i want the data of week-49.Currently i'm doing
this manually.I apply the weeknum formula in column where data gets end
let's say that's column M  then extract the data.

 

Please help me on this with a macro  thanks in advance.

-- 
Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups
MS EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread SG
hi Rajan,
 
Thanks for the reply.I have taken the macro from 2nd link.
However on running the macro, the code in 4th line
'Dim Fso As New Scripting.FileSystemObject' 
gives an complie error 'user-defined type not defined'.
 
please help on this.
On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

  *See if it helps*

 * *

 *1)  **
 http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/*

 *2)  **
 http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/*

 *3)  **
 http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/*

 * *

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com javascript: [mailto:
 excel-...@googlegroups.com javascript:] *On Behalf Of *SG
 *Sent:* 14 December 2012 7:19
 *To:* excel-...@googlegroups.com javascript:
 *Subject:* $$Excel-Macros$$ Consolidating Multiple files

  
  
 Hi Experts,
  
  
  
 I need your help in one of my problem.I want to consolidate the 
 multiple excel files of a folder with same name  numbered as 1,2,3 in to a 
 one excel file.I have tried but unable to create a macro on it.There is 
 only one criteria in this consolidation is that on column D of every sheet 
 is a date.What i want is to extract the data on basis of a particular week 
 number let's say we are in week 50  i want the data of week-49.Currently 
 i'm doing this manually.I apply the weeknum formula in column where data 
 gets end let's say that's column M  then extract the data.
  
  
  
 Please help me on this with a macro  thanks in advance.

 -- 
 Join official Facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners and 
 members are not responsible for any loss.
 --- 
 You received this message because you are subscribed to the Google Groups 
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
  
  


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




RE: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread Rajan_Verma
Ah..

 

You can add reference Microsoft scripting runtime

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of SG
Sent: 14 December 2012 7:54
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files

 

hi Rajan,

 

Thanks for the reply.I have taken the macro from 2nd link.

However on running the macro, the code in 4th line

'Dim Fso As New Scripting.FileSystemObject' 

gives an complie error 'user-defined type not defined'.

 

please help on this.
On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

See if it helps

 

1)  http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/

2)
http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/

3)  http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/

 

 

 

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-...@googlegroups.com javascript:
[mailto:excel-...@googlegroups.com javascript: ] On Behalf Of SG
Sent: 14 December 2012 7:19
To: excel-...@googlegroups.com javascript: 
Subject: $$Excel-Macros$$ Consolidating Multiple files

 

Hi Experts,

 

I need your help in one of my problem.I want to consolidate the multiple
excel files of a folder with same name  numbered as 1,2,3 in to a one excel
file.I have tried but unable to create a macro on it.There is only one
criteria in this consolidation is that on column D of every sheet is a
date.What i want is to extract the data on basis of a particular week number
let's say we are in week 50  i want the data of week-49.Currently i'm doing
this manually.I apply the weeknum formula in column where data gets end
let's say that's column M  then extract the data.

 

Please help me on this with a macro  thanks in advance.

-- 
Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups
MS EXCEL AND VBA MACROS group.
To post to this group, send email to excel-...@googlegroups.com
javascript: .
To unsubscribe from this group, send email to
excel-macros...@googlegroups.com javascript: .
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 

-- 
Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups
MS EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread SG
may be i'm silly with the question, but really not getting it that you have 
replied.

On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:

  *Ah..*

 * *

 *You can add reference “Microsoft scripting runtime”*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com javascript: [mailto:
 excel-...@googlegroups.com javascript:] *On Behalf Of *SG
 *Sent:* 14 December 2012 7:54
 *To:* excel-...@googlegroups.com javascript:
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 hi Rajan,
  
  
  
 Thanks for the reply.I have taken the macro from 2nd link.
  
 However on running the macro, the code in 4th line
  
 'Dim Fso As New Scripting.FileSystemObject' 
  
 gives an complie error 'user-defined type not defined'.
  
  
  
 please help on this.
 On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

  *See if it helps*

 * *

 *1)**  **
 http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/*

 *2)**  **
 http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/*

 *3)**  **
 http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/*

 * *

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@googlegroups.com] *On 
 Behalf Of *SG
 *Sent:* 14 December 2012 7:19
 *To:* excel-...@googlegroups.com
 *Subject:* $$Excel-Macros$$ Consolidating Multiple files

  
  
 Hi Experts,
  
  
  
 I need your help in one of my problem.I want to consolidate the 
 multiple excel files of a folder with same name  numbered as 1,2,3 in to a 
 one excel file.I have tried but unable to create a macro on it.There is 
 only one criteria in this consolidation is that on column D of every sheet 
 is a date.What i want is to extract the data on basis of a particular week 
 number let's say we are in week 50  i want the data of week-49.Currently 
 i'm doing this manually.I apply the weeknum formula in column where data 
 gets end let's say that's column M  then extract the data.
  
  
  
 Please help me on this with a macro  thanks in advance.

 -- 
 Join official Facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners and 
 members are not responsible for any loss.
 --- 
 You received this message because you are subscribed to the Google Groups 
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
  
  

 -- 
 Join official Facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners and 
 members are not responsible for any loss.
 --- 
 You received this message because you are subscribed to the Google Groups 
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com javascript:.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
  
  


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners

RE: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread Rajan_Verma
Ok,

 

Open Visula Basic Editor

Goto the Tool- Reference -Select Microsoft scripting runtime

 

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of SG
Sent: 14 December 2012 8:26
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files

 

may be i'm silly with the question, but really not getting it that you have
replied.


On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:

Ah..

 

You can add reference Microsoft scripting runtime

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-...@googlegroups.com javascript:
[mailto:excel-...@googlegroups.com javascript: ] On Behalf Of SG
Sent: 14 December 2012 7:54
To: excel-...@googlegroups.com javascript: 
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files

 

hi Rajan,

 

Thanks for the reply.I have taken the macro from 2nd link.

However on running the macro, the code in 4th line

'Dim Fso As New Scripting.FileSystemObject' 

gives an complie error 'user-defined type not defined'.

 

please help on this.
On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

See if it helps

 

1)  http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/

2)
http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/

3)  http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/

 

 

 

 

Regards

Rajan verma

+91 7838100659 [IM-Gtalk]

 

From: excel-...@googlegroups.com [mailto:excel-...@googlegroups.com] On
Behalf Of SG
Sent: 14 December 2012 7:19
To: excel-...@googlegroups.com
Subject: $$Excel-Macros$$ Consolidating Multiple files

 

Hi Experts,

 

I need your help in one of my problem.I want to consolidate the multiple
excel files of a folder with same name  numbered as 1,2,3 in to a one excel
file.I have tried but unable to create a macro on it.There is only one
criteria in this consolidation is that on column D of every sheet is a
date.What i want is to extract the data on basis of a particular week number
let's say we are in week 50  i want the data of week-49.Currently i'm doing
this manually.I apply the weeknum formula in column where data gets end
let's say that's column M  then extract the data.

 

Please help me on this with a macro  thanks in advance.

-- 
Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups
MS EXCEL AND VBA MACROS group.
To post to this group, send email to excel-...@googlegroups.com.
To unsubscribe from this group, send email to
excel-macros...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 

-- 
Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups
MS EXCEL AND VBA MACROS group.
To post to this group, send email to excel-...@googlegroups.com
javascript: .
To unsubscribe from this group, send email to
excel-macros...@googlegroups.com javascript: .
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 

-- 
Join official Facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing

Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread Paul Schreiner
There are LOTS of different objects that are required by different applications.
Rather than try to include them all at the same time,
we can include them individually as References.

In order to use:
Dim Fso As New Scripting.FileSystemObject
The Microsoft Scripting Runtime reference is required.

In your VBA window,
you can find it under Tools-References

Paul
-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
-





From: SG sonal...@gmail.com
To: excel-macros@googlegroups.com
Sent: Fri, December 14, 2012 9:55:48 AM
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files


may be i'm silly with the question, but really not getting it that you have 
replied.

On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:
Ah..
 
You can add reference “Microsoft scripting runtime”
 
Regards
Rajan verma
+91 7838100659 [IM-Gtalk]
 
From:excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] On Behalf 
Of SG
Sent: 14 December 2012 7:54
To: excel-...@googlegroups.com
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files
 
hi Rajan,
 
Thanks for the reply.I have taken the macro from 2nd link.
However on running the macro, the code in 4th line
'Dim Fso As New Scripting.FileSystemObject' 
gives an complie error 'user-defined type not defined'.
 
please help on this.
On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:
See if it helps
 
1)  http://excelpoweruser. wordpress.com/2012/06/07/ compile-worksheets/
2)  http://excelpoweruser. wordpress.com/2011/08/12/ 
compiling-workbooks-2/
3)  http://excelpoweruser. wordpress.com/2011/07/06/ compiling-workbooks/
 
 
 
 
Regards
Rajan verma
+91 7838100659 [IM-Gtalk]
 
From:excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] On 
Behalf 
Of SG
Sent: 14 December 2012 7:19
To: excel-...@googlegroups.com
Subject: $$Excel-Macros$$ Consolidating Multiple files
 
Hi Experts,
 
I need your help in one of my problem.I want to consolidate the 
multiple excel 
files of a folder with same name  numbered as 1,2,3 in to a one excel file.I 
have tried but unable to create a macro on it.There is only one criteria in 
this 
consolidation is that on column D of every sheet is a date.What i want is 
to extract the data on basis of a particular week number let's say we are in 
week 50  i want the data of week-49.Currently i'm doing this manually.I 
apply 
the weeknum formula in column where data gets end let's say that's column M  
then extract the data.
 
Please help me on this with a macro  thanks in advance.
-- 
Join official Facebook page of this forum @ https://www.facebook.com/ 
discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not 
get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members 
are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-...@googlegroups.com.
To unsubscribe from this group, send email to excel-macros...@googlegroups. 
com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 
-- 
Join official Facebook page of this forum @ https://www.facebook.com/ 
discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members 
are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-...@googlegroups.com.
To unsubscribe from this group, send email to excel-macros...@ googlegroups.com.
Visit this group at http://groups.google.com/ group/excel-macros?hl=en.
 
 -- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise

Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread SG
thanks but the macro is not entering in to the loop.
I have edited the macro lil bit at my end.I have removed the part which is 
for saving the complied file  i think it's not going to effect anyway.
please suggest..

On Friday, December 14, 2012 8:31:22 PM UTC+5:30, Rajan_Verma wrote:

  *Ok,*

 * *

 *Open Visula Basic Editor*

 *Goto the Tool- Reference –Select **Microsoft scripting runtime***

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com javascript: [mailto:
 excel-...@googlegroups.com javascript:] *On Behalf Of *SG
 *Sent:* 14 December 2012 8:26
 *To:* excel-...@googlegroups.com javascript:
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 may be i'm silly with the question, but really not getting it that you 
 have replied.
  

 On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:

  *Ah..*

 * *

 *You can add reference “Microsoft scripting runtime”*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@googlegroups.com] *On 
 Behalf Of *SG
 *Sent:* 14 December 2012 7:54
 *To:* excel-...@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Consolidating Multiple files

  
  
 hi Rajan,
  
  
  
 Thanks for the reply.I have taken the macro from 2nd link.
  
 However on running the macro, the code in 4th line
  
 'Dim Fso As New Scripting.FileSystemObject' 
  
 gives an complie error 'user-defined type not defined'.
  
  
  
 please help on this.
 On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:

  *See if it helps*

 * *

 *1)**  **
 http://excelpoweruser.wordpress.com/2012/06/07/compile-worksheets/*

 *2)**  **
 http://excelpoweruser.wordpress.com/2011/08/12/compiling-workbooks-2/*

 *3)**  **
 http://excelpoweruser.wordpress.com/2011/07/06/compiling-workbooks/*

 * *

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-...@googlegroups.com [mailto:excel-...@googlegroups.com] *On 
 Behalf Of *SG
 *Sent:* 14 December 2012 7:19
 *To:* excel-...@googlegroups.com
 *Subject:* $$Excel-Macros$$ Consolidating Multiple files

  
  
 Hi Experts,
  
  
  
 I need your help in one of my problem.I want to consolidate the 
 multiple excel files of a folder with same name  numbered as 1,2,3 in to a 
 one excel file.I have tried but unable to create a macro on it.There is 
 only one criteria in this consolidation is that on column D of every sheet 
 is a date.What i want is to extract the data on basis of a particular week 
 number let's say we are in week 50  i want the data of week-49.Currently 
 i'm doing this manually.I apply the weeknum formula in column where data 
 gets end let's say that's column M  then extract the data.
  
  
  
 Please help me on this with a macro  thanks in advance.

 -- 
 Join official Facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners and 
 members are not responsible for any loss.
 --- 
 You received this message because you are subscribed to the Google Groups 
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
  
  

 -- 
 Join official Facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners and 
 members are not responsible for any loss.
 --- 
 You received this message because you are subscribed to the Google Groups 
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-...@googlegroups.com.
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel

Re: $$Excel-Macros$$ Consolidating Multiple files

2012-12-14 Thread Paul Schreiner
I don't think we can work that way...

You're using someone ELSE's macro with YOUR files and folders
and you've admitted that you've edited the macro a little bit...

and you want us to suggest how to fix it without seeing 
the macro, your files and folders, and what edit's you've done?

Well.. I GUESS I could suggest one thing:

please give us more information.
Perhaps attach a file.
 
At the LEAST, attach the macro and tell us what your file names and folder 
names 
are...

Paul
-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
-





From: SG sonal...@gmail.com
To: excel-macros@googlegroups.com
Sent: Fri, December 14, 2012 10:11:52 AM
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files


thanks but the macro is not entering in to the loop.
I have edited the macro lil bit at my end.I have removed the part which is for 
saving the complied file  i think it's not going to effect anyway.
please suggest..

On Friday, December 14, 2012 8:31:22 PM UTC+5:30, Rajan_Verma wrote:
Ok,
 
Open Visula Basic Editor
Goto the Tool- Reference –Select Microsoft scripting runtime
 
 
Regards
Rajan verma
+91 7838100659 [IM-Gtalk]
 
From:excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] On Behalf 
Of SG
Sent: 14 December 2012 8:26
To: excel-...@googlegroups.com
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files
 
may be i'm silly with the question, but really not getting it that you have 
replied.

On Friday, December 14, 2012 8:16:28 PM UTC+5:30, Rajan_Verma wrote:
Ah..
 
You can add reference “Microsoft scripting runtime”
 
Regards
Rajan verma
+91 7838100659 [IM-Gtalk]
 
From:excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] On 
Behalf 
Of SG
Sent: 14 December 2012 7:54
To: excel-...@googlegroups.com
Subject: Re: $$Excel-Macros$$ Consolidating Multiple files
 
hi Rajan,
 
Thanks for the reply.I have taken the macro from 2nd link.
However on running the macro, the code in 4th line
'Dim Fso As New Scripting.FileSystemObject' 
gives an complie error 'user-defined type not defined'.
 
please help on this.
On Friday, December 14, 2012 7:28:17 PM UTC+5:30, Rajan_Verma wrote:
See if it helps
 
1)  http://excelpoweruser. wordpress.com/2012/06/07/ compile-worksheets/
2)  http://excelpoweruser. wordpress.com/2011/08/12/ 
compiling-workbooks-2/
3)  http://excelpoweruser. wordpress.com/2011/07/06/ compiling-workbooks/
 
 
 
 
Regards
Rajan verma
+91 7838100659 [IM-Gtalk]
 
From:excel-...@googlegroups.com [mailto:excel-...@ googlegroups.com] On 
Behalf 
Of SG
Sent: 14 December 2012 7:19
To: excel-...@googlegroups.com
Subject: $$Excel-Macros$$ Consolidating Multiple files
 
Hi Experts,
 
I need your help in one of my problem.I want to consolidate the 
multiple excel 
files of a folder with same name  numbered as 1,2,3 in to a one excel 
file.I 
have tried but unable to create a macro on it.There is only one criteria in 
this 
consolidation is that on column D of every sheet is a date.What i want is 
to extract the data on basis of a particular week number let's say we are in 
week 50  i want the data of week-49.Currently i'm doing this manually.I 
apply 
the weeknum formula in column where data gets end let's say that's column M 
 
then extract the data.
 
Please help me on this with a macro  thanks in advance.
-- 
Join official Facebook page of this forum @ https://www.facebook.com/ 
discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please 
Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not 
get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members 
are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups 
MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-...@googlegroups.com.
To unsubscribe from this group, send email to excel-macros...@googlegroups. 
com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 
-- 
Join official Facebook page of this forum @ https://www.facebook.com/ 
discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding