ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel Sheet.Copy Method (Excel 2003 SP2 ) (https://www.excelbanter.com/excel-programming/364119-excel-sheet-copy-method-excel-2003-sp2.html)

AMIT

Excel Sheet.Copy Method (Excel 2003 SP2 )
 
Hello,

Excel 2003 (SP2):

In my macro i am creating new workbook and using copy method to copy
sheet format, page setting etc to newly added sheet. I am not using
template as there are many users and it is not feasible to provide
every body to access share template on a server. Hence i decided to
follow sheets.copy approach.

But my need is to avoid user from displaying/hiding data filling
activity in sheet; new sheet insert process hence i am using
Workbooks.IsAddin and oWB.Application.Windows(1).Visible to hide
workbook from user. But due to this Copy method is failing.

I tried ScreenUpdating & Interactive properties but still i am able to
see the updates made to workbook.

Is there any proper way to avoid updates to be displayed/hideen from
user.

Any help is highly appreciated.

Regards,
Amit



All times are GMT +1. The time now is 09:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com