+ Reply to Thread
Results 1 to 3 of 3

Activate an open workbook

  1. #1
    Registered User
    Join Date
    10-04-2004
    Posts
    4

    Question Activate an open workbook

    Greetings to all. The following macro opens the workbook "orderform". I need to change it so that it activates "orderform" since it is already open. Its probably very simple, but beyond me. Thanks!

    Dim wbMain As Workbook
    Dim wbOther As Workbook
    Set wbOther = ActiveWorkbook
    Range("C1:Bh1").Select
    Selection.Copy
    Set wbMain = Workbooks.Open("C:\Order Entry\orderform.XLS")

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Activate an open workbook

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-04-2004
    Posts
    4

    Re: Activate an open workbook

    Thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1