+ Reply to Thread
Results 1 to 2 of 2

In a macro how can I access previously selected cells.

  1. #1
    Registered User
    Join Date
    04-27-2013
    Location
    Bradenton,florida
    MS-Off Ver
    Excel 2007
    Posts
    40

    In a macro how can I access previously selected cells.

    At user level I want to select a random number of non-contiguous cells. Then have user activate a macro and have the macro know and be able to access each selected cell. What does the macro code look like.
    Thank You

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: In a macro how can I access previously selected cells.

    Hi joebbb,

    This will put the cell address of a selected range into a message box (adapt to your own needs):

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ 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. [SOLVED] Hiding previously selected options in drop down list
    By neerajkamat in forum Excel General
    Replies: 6
    Last Post: 07-27-2014, 10:10 AM
  2. PLease Help: Dropdown list that removes previously selected item
    By Gus88 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-01-2014, 01:28 PM
  3. If...then help. Reselecting previously selected sheet
    By sesshuswan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-14-2014, 11:13 AM
  4. Help with sebastienm's code - Returning To Previously Selected Worksheet
    By AcesUp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2006, 05:44 AM
  5. How do I get macro to unmerge cells that have been previously merg
    By HankY in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-08-2005, 02:00 AM
  6. [SOLVED] Macro to concatenate previously selected cells
    By Grumpy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2005, 08:55 PM
  7. Clearing what you have previously selected
    By T8RSP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2005, 06:30 AM

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