Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I recently moved all the code from one workbook to another so that it could
be shared amont multiple books, by making the following change in the worksheet_activate sub in Sheet1: from Call Macro1 to Application.Run "'Book2'!Macro1" Now, some of the code works, and some doesn't. For example: With Worksheets("Sheet1") .Columns("A:I").ClearContents ' does nothing .Cells(10,3) = "Title1" ' works End With What am I doinf wrong? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA code to email active work book | Excel Programming | |||
searching by number or code ina work book | Excel Discussion (Misc queries) | |||
moved vba code from macro to command button, now won't work | Excel Programming | |||
Please Help!!! How Do I Specify A particualr work book to execute code on | Excel Programming | |||
Maintaining a hyperlink to moved data within the work book | Excel Discussion (Misc queries) |