Consulting

Results 1 to 2 of 2

Thread: Solved: set scroll area in copied book

  1. #1
    VBAX Tutor
    Joined
    Nov 2007
    Posts
    291
    Location

    Solved: set scroll area in copied book

    I use Activesheet.Copy to create a copy of a worksheet.

    However I want to set the scroll area in that new worksheet. When I code it after the ActiveSheet.Copy it works ok until I close the workbook and open it up again when the scroll area has not been saved.

    Is there any way to put code into another workbook from code in the original workbook?

  2. #2
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    220
    Location
    Here is a KB entry for deleting and adding macros. You should be able to adjust it for a new worksheet.

    http://vbaexpress.com/kb/getarticle.php?kb_id=250

    HTH
    "Intellectual passion occurs at the intersection of fact and implication."

    SGB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •