Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2004, 10:53 AM
Registered User
 
Join Date: Aug 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Macro to replace and updating sheets in workbooks

I have a workbook Wb1 with version 1.0 with three sheets. Sheet1, Sheet2 and Sheet3. Sheets 2 and 3 refers to some cells in sheet1 for example sheet1!B3

I have also updated Wb1's sheet1 and named new version 1.1. Now I need to replace sheet1 from version 1.1 into version 1.0. During that process if i delete sheet1 in version 1.0 there is ref# error in sheet 2 and 3.

Is there any way we can achieve this task without getting the reference error in sheet 2 and 3 as well as replace sheet 1 from wb 1.1 to wb 1.0?

Thanks
 
Old August 16th, 2004, 02:51 AM
Authorized User
 
Join Date: Aug 2004
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can't you just copy sheet 1.1 and paste into sheet 1 to overwrite the data ?


-----------------------
Regards BrianB
Most problems occur from starting at the wrong place.
Use a cup of coffee to make Windows run faster.
It is easy until you know how.





Similar Threads
Thread Thread Starter Forum Replies Last Post
comparing rows of two workbooks nasirmunir Excel VBA 2 July 9th, 2008 08:10 PM
calling to xlam macro from macro inside xlsb SteveB Excel VBA 0 June 30th, 2008 06:43 PM
two workbooks--matching values within kwik10z Excel VBA 0 November 29th, 2007 11:51 AM
Opening Workbooks With Macros RollingWoodFarm Excel VBA 1 February 11th, 2007 05:48 AM
Macro to count the no. of sheets sunny76 Excel VBA 2 August 19th, 2005 02:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.