Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Copying to another Workbook

I want to copy data from one workbook (many sheets) to another workbook.
I want to do this behind the scenes. Don't want to have the end-user to see
this happening.

I know in FoxPro, using automation, I can visible to False.

Is this possible through VBA?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Copying to another Workbook

The following (untested) will copy all the sheets in the active wortkbook to
a new one.

Application.ScreenUpdating = False
ActiveWorkbook.Worksheets.Copy
ActiveWorkbook.SaveAs "c:\..............\NewName.xls"
ActiveWorkbook.Close False
Application.ScreenUpdating = True

To copy to an existing workbook, modify to suit.

--

Vasant


"Dthmtlgod" wrote in message
...
I want to copy data from one workbook (many sheets) to another workbook.
I want to do this behind the scenes. Don't want to have the end-user to

see
this happening.

I know in FoxPro, using automation, I can visible to False.

Is this possible through VBA?





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Copying to another Workbook

Thanks

Application.ScreenUpdating = False

This is the command to keep everything hidden?

Doug


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
The following (untested) will copy all the sheets in the active wortkbook

to
a new one.

Application.ScreenUpdating = False
ActiveWorkbook.Worksheets.Copy
ActiveWorkbook.SaveAs "c:\..............\NewName.xls"
ActiveWorkbook.Close False
Application.ScreenUpdating = True

To copy to an existing workbook, modify to suit.

--

Vasant


"Dthmtlgod" wrote in message
...
I want to copy data from one workbook (many sheets) to another workbook.
I want to do this behind the scenes. Don't want to have the end-user to

see
this happening.

I know in FoxPro, using automation, I can visible to False.

Is this possible through VBA?







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Copying to another Workbook

For the most part, yes.

--

Vasant

"Dthmtlgod" wrote in message
...
Thanks

Application.ScreenUpdating = False

This is the command to keep everything hidden?

Doug


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
The following (untested) will copy all the sheets in the active

wortkbook
to
a new one.

Application.ScreenUpdating = False
ActiveWorkbook.Worksheets.Copy
ActiveWorkbook.SaveAs "c:\..............\NewName.xls"
ActiveWorkbook.Close False
Application.ScreenUpdating = True

To copy to an existing workbook, modify to suit.

--

Vasant


"Dthmtlgod" wrote in message
...
I want to copy data from one workbook (many sheets) to another

workbook.
I want to do this behind the scenes. Don't want to have the end-user

to
see
this happening.

I know in FoxPro, using automation, I can visible to False.

Is this possible through VBA?









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Copying to another Workbook

Cool. Thanks.

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
For the most part, yes.

--

Vasant

"Dthmtlgod" wrote in message
...
Thanks

Application.ScreenUpdating = False

This is the command to keep everything hidden?

Doug


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
The following (untested) will copy all the sheets in the active

wortkbook
to
a new one.

Application.ScreenUpdating = False
ActiveWorkbook.Worksheets.Copy
ActiveWorkbook.SaveAs "c:\..............\NewName.xls"
ActiveWorkbook.Close False
Application.ScreenUpdating = True

To copy to an existing workbook, modify to suit.

--

Vasant


"Dthmtlgod" wrote in message
...
I want to copy data from one workbook (many sheets) to another

workbook.
I want to do this behind the scenes. Don't want to have the

end-user
to
see
this happening.

I know in FoxPro, using automation, I can visible to False.

Is this possible through VBA?











Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying workbook formating to a differnent workbook Roger Excel Worksheet Functions 0 October 30th 09 05:27 PM
Copying Formulas from Workbook to Workbook Rupert[_2_] Excel Discussion (Misc queries) 3 June 4th 07 03:44 PM
Copying A Worksheet From Each Open Workbook to an new Workbook carl Excel Worksheet Functions 1 January 3rd 06 05:37 PM
Copying charts from workbook to workbook Geoff C Charts and Charting in Excel 2 March 13th 05 05:04 AM
Copying workbook contents to another workbook Josh Sale Excel Programming 3 November 23rd 03 10:57 PM


All times are GMT +1. The time now is 10:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"