+ Reply to Thread
Results 1 to 5 of 5

Workbooks.Application.ActiveWorkbook vs ActiveWorkbook

  1. #1
    Forum Contributor
    Join Date
    10-12-2018
    Location
    Leesburg, FL
    MS-Off Ver
    2013
    Posts
    113

    Workbooks.Application.ActiveWorkbook vs ActiveWorkbook

    Is there any difference between those two statements? Also, if you don't use "Active" keyword on Excel functions in general, is it used by default?
    Thanks!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: Workbooks.Application.ActiveWorkbook vs ActiveWorkbook

    Not as far as I can see

    Please Login or Register  to view this content.
    I've only ever used the last one but there may be occasions when you feel the need to fully qualify the workbook.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: Workbooks.Application.ActiveWorkbook vs ActiveWorkbook

    if you don't use "Active" keyword on Excel functions in general, is it used by default?
    What does that mean? Please give examples.

  4. #4
    Forum Contributor
    Join Date
    10-12-2018
    Location
    Leesburg, FL
    MS-Off Ver
    2013
    Posts
    113

    Re: Workbooks.Application.ActiveWorkbook vs ActiveWorkbook

    TMS - Thank you. You can disregard my second question.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: Workbooks.Application.ActiveWorkbook vs ActiveWorkbook

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ActiveWorkbook.close is closing all workbooks
    By johnvn in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-27-2017, 05:06 AM
  2. [SOLVED] Using 'ActiveWorkbook.FollowHyperlink'... without an ActiveWorkbook
    By EchoPassenger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2015, 04:01 PM
  3. how to set activeworkbook
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2015, 04:59 PM
  4. [SOLVED] ActiveWorkBook
    By Pete in forum Excel General
    Replies: 7
    Last Post: 10-23-2013, 11:43 PM
  5. XLM equivalent for ActiveWorkbook.Name
    By riwiseuse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2011, 09:07 AM
  6. Different between ActiveWorkbook.Sheet and ActiveWorkbook.WorkSheets
    By Ranjani in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2009, 12:56 AM
  7. Activeworkbook Error
    By Tim Childs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-21-2005, 03:00 PM

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