have you added Microsoft shell control and automation in refrences

 tool -> reference -> Microsoft shell control and automation

On Tue, Jun 7, 2011 at 7:11 PM, Greg <gamoun...@gmail.com> wrote:

> Thanks Ashish for your reply. When I use this macro I get the
> following error message:
>
> Compile error: User-define type not defined.
>
> The following line in the macro code is highlighted:
>
> Dim objShell As New Shell32.Shell
>
> -Greg
>
> On Jun 7, 2:22 am, ashish koul <koul.ash...@gmail.com> wrote:
> > try this
> >
> > http://akoul.blogspot.com/2011/02/merge-data-from-multiple-sheet-from...
> >
> > see if it helps
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Jun 7, 2011 at 2:37 AM, Greg <gamoun...@gmail.com> wrote:
> > > Hi,
> >
> > > I am trying to use a macro which copies multiple workbooks into a
> > > single workbook. However, something is going awry. The only thing it
> > > does is create a blank Worksheet is created.
> >
> > > Can someone explain why this is happening? I copied the macro from the
> > > following weblink:
> >
> > >http://excelribbon.tips.net/T008884_Condensing_Multiple_Worksheets_In.
> ..
> >
> > > Thanks in advance for your help.
> >
> > > -Greg
> >
> > > --
> >
> > >
> ---------------------------------------------------------------------------
> -------
> > > Some important links for excel users:
> > > 1. Follow us on TWITTER for tips tricks and links :
> > >http://twitter.com/exceldailytip
> > > 2. Join our LinkedIN group @http://www.linkedin.com/groups?gid=1871310
> > > 3. Excel tutorials athttp://www.excel-macros.blogspot.com
> > > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com
> > > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com
> >
> > > To post to this group, send email to excel-macros@googlegroups.com
> >
> > > <><><><><><><><><><><><><><><><><><><><><><>
> > > Like our page on facebook , Just follow below link
> > >http://www.facebook.com/discussexcel
> >
> > --
> > *Regards*
> > * *
> > *Ashish Koul*
> > *akoul*.*blogspot*.com <http://akoul.blogspot.com/>
> http://akoul.posterous.com/
> > *akoul*.wordpress.com <http://akoul.wordpress.com/>
> > My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830>
> >
> > P Before printing, think about the environment.
>
> --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> Like our page on facebook , Just follow below link
> http://www.facebook.com/discussexcel
>



-- 
*Regards*
* *
*Ashish Koul*
*akoul*.*blogspot*.com <http://akoul.blogspot.com/>
http://akoul.posterous.com/
*akoul*.wordpress.com <http://akoul.wordpress.com/>
My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830>


P Before printing, think about the environment.

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to