Results 1 to 23 of 23

How do I know which sheets are to the RIGHT and LEFT to the Active Sheet?

Threaded View

e4excel How do I know which sheets... 03-31-2011, 10:54 AM
MarvinP Re: How do I know which... 03-31-2011, 11:48 AM
nimrod Re: How do I know which... 03-31-2011, 12:12 PM
e4excel Re: How do I know which... 03-31-2011, 04:37 PM
e4excel Re: How do I know which... 03-31-2011, 04:25 PM
TMS Re: How do I know which... 03-31-2011, 04:42 PM
e4excel Re: How do I know which... 03-31-2011, 05:04 PM
TMS Re: How do I know which... 03-31-2011, 05:10 PM
MarvinP Re: How do I know which... 03-31-2011, 05:15 PM
e4excel Re: How do I know which... 03-31-2011, 05:24 PM
MarvinP Re: How do I know which... 03-31-2011, 06:33 PM
nimrod Re: How do I know which... 03-31-2011, 08:18 PM
e4excel Re: How do I know which... 04-01-2011, 06:08 AM
e4excel Re: How do I know which... 04-01-2011, 07:08 AM
TMS Re: How do I know which... 04-01-2011, 08:32 AM
e4excel Re: How do I know which... 04-01-2011, 02:20 PM
nimrod Re: How do I know which... 04-01-2011, 02:33 PM
MarvinP Re: How do I know which... 04-01-2011, 02:46 PM
e4excel Re: How do I know which... 04-01-2011, 03:09 PM
nimrod Re: How do I know which... 04-01-2011, 04:01 PM
e4excel Re: How do I know which... 04-04-2011, 07:53 AM
MarvinP Re: How do I know which... 04-01-2011, 04:01 PM
nimrod Re: How do I know which... 04-04-2011, 11:07 AM
  1. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,252

    Re: How do I know which sheets are to the RIGHT and LEFT to the Active Sheet?

    Hi e4excel,
    You are asking to different questions.
    If you have different "Workbooks" then these are different files on your harddrive or server.
    If you have different "Worksheets" then these are different tabs in a single workbook file.

    You have mixed these words in your question above.

    If you meant different TABS on a single WORKBOOK then you can use an index number to address the different Tabs or Worksheets.

    Worksheets(1) would be the first tab, on the very left of a workbook
    Worksheets(Worksheets.Count) would be the last tab, on the very right of the workbook.

    hope this helps.

    To answer the thread title is this. Your current worksheet number is "Activesheet.Index". So to access the sheet to the left is Worksheets(Activesheet.Indes - 1). And + 1 to get the worksheet to the right.
    Last edited by MarvinP; 03-31-2011 at 12:01 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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