+ Reply to Thread
Results 1 to 6 of 6

Get values from multiple worksheets

  1. #1
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Get values from multiple worksheets

    Hello,

    I am selecting multiple worksheets in a workbook.
    While those are selected, I am clicikng on a cell on the active worksheet, say I click on B5.
    At this point I want to run a macro which displays in a message box the current values on cell B5 of all selected workseets along with the correspnding worksheet name like:

    B5 on Sheet3 is: x
    B5 on Sheet6 is: y
    B5 on Sheet9 is: z
    and so forth..

    Could you please advise on such a script?
    Thank you

  2. #2
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Re: Get values from multiple worksheets

    See attached snapshot of the selected worksheets.
    Thanks
    Attached Images Attached Images

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,516

    Re: Get values from multiple worksheets

    You'll have to double click on the cell in question.
    You'll have to put this in all sheet modules.
    Please Login or Register  to view this content.
    Last edited by jolivanes; 06-25-2022 at 08:42 PM.
    Experience trumps academics every day of the week and twice on Sunday.

  4. #4
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Re: Get values from multiple worksheets

    Yhank you jolivanes!

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,516

    Re: Get values from multiple worksheets

    Maybe this is easier on the "memory" part. No remembering required if many sheets are selected.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    03-02-2014
    Location
    usa
    MS-Off Ver
    MS 365
    Posts
    593

    Re: Get values from multiple worksheets

    Yes, thank you!

+ 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. Replies: 1
    Last Post: 02-13-2021, 02:39 PM
  2. [SOLVED] Copy rows from multiple worksheets with multiple criteria - greater than dynamic values
    By stackout in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2015, 04:36 PM
  3. Copy Multiple Unique Values to Multiple Worksheets
    By cwafstet in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-26-2013, 10:14 PM
  4. Copy Multiple Unique Values to Multiple Worksheets
    By cwafstet in forum Excel General
    Replies: 1
    Last Post: 08-26-2013, 06:53 PM
  5. Replies: 20
    Last Post: 03-13-2013, 04:15 PM
  6. find and replace multiple values across multiple worksheets
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2012, 10:48 AM
  7. count unique values in multiple worksheets with multiple criteria
    By craig04 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2012, 03:26 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