+ Reply to Thread
Results 1 to 17 of 17

HELP - Selected cell will display in new sheet

  1. #1
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    HELP - Selected cell will display in new sheet

    Hi experts

    Require your valuable help/ guidelines again

    Can mouse selected cell will save / show in new sheet with the respective heading.

    I uploaded illustration file.

    Thanks in advance

    Amar K
    Attached Files Attached Files
    Last edited by ExcelUser2707; 06-09-2014 at 06:32 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: HELP - Selected cell will display in new sheet

    Yes, you'll need to look at WorkSheet_SelectionChange event to do this.

    Please Login or Register  to view this content.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet

    Hi NATHANSAV

    Thanks a lot for your reply.

    Actually I am not getting your suggestion…can you please explain

    Regards

    Amar K

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: HELP - Selected cell will display in new sheet

    There is an event in the sheet, the original sheet, called Worksheet_SelectionChange this is triggered when the mouse/cursor keys select a different cell, so in that event in your workbook, you'll need to add my code line, and change the names of NewSheet to what ever yours is.

  5. #5
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: HELP - Selected cell will display in new sheet

    Hi Nathan
    I dont see how your code will work. Amar's request was to request that selected cells are automatically copied to a new worksheet with their relevant headings. I am not sure this is possible even with VBA as how does Excel know when you have stopped selecting your required cells. Your code line relates to SelectionChange and he is not changing anything he is merely highlighting cells.
    Happy to be proven wrong though .
    Tony

  6. #6
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet

    Thanks ARGK

    You are right, I don’t want to track changes…..

    If there is any other solution e.g. yellow / colour highlighted will appears in new sheet etc

    Thanks

    Amar K

  7. #7
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: HELP - Selected cell will display in new sheet

    It would need to be triggered by a button then,

    then

    Please Login or Register  to view this content.

    Something like that, not in Excel at mo, so not tested.

  8. #8
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: HELP - Selected cell will display in new sheet

    ARGK
    The OP says cell

    "Can mouse selected cell will save / show in new sheet with the respective heading."

  9. #9
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet



    When you have time, pleas upload a code written sample file…

    It will help me to understand the scenario

    Thanks in advance & waiting for your reply

    Amar K

  10. #10
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet

    Hi,

    If system can’t recognize when selection is stop

    There is any other way to do this task………

    It is possible to colour cell will save / show in new sheet or within the sheet


    Any helps in this regard will very appreciated

    Thanks in advance

    Amar K

  11. #11
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: HELP - Selected cell will display in new sheet

    Hi Amar
    I am ure when Nathan gets time he will respond to you. I am not sure what you are requesting can be done but I would love to proven wrong.
    Tony

  12. #12
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: HELP - Selected cell will display in new sheet

    My only suggestion would be to have a button to do it or perhaps a right click to determine selection has stopped.

  13. #13
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet

    OK SIR

    thanks for your suggestion....

  14. #14
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: HELP - Selected cell will display in new sheet

    Hi, amar.kshirsagar,

    just for my curiosity: you have 4 cells highlighted in the original post in Row 2 and 4 cells in Row 4 yet your result on Sheet2 features 6 headings, 5 cells from Row 2 and 6 cells from Row 4. Any more detailed explanations on how to handle that?

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  15. #15
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet

    Thanks for replay

    Sir you are absolutely correct, my sample file have incorrect information.

    As I shown result, i.e. sheet2. shows value of such cell which is not highlighted in colour.

    Rectification of attachment is done.

    Regret for inconvenience

    Thanks for kind guidelines

    Amar K

  16. #16
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: HELP - Selected cell will display in new sheet

    Hi, amar.kshirsagar,

    this is one way to start towards a solution - you would have to work on copying the formats over. Basic idea is to build a range on Sheet1 whenever you select cells with the mouse. Execution of the code will start if you leave Sheet1 but only if more than 1 cell and one area is selected, contents on Sheet2 will be cleared and copied over (you may try to use .Text instead of .Value).

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    07-16-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    124

    Re: HELP - Selected cell will display in new sheet

    Sir,

    Thanks a lot for your advice

    Great code, thanks very much to share valuable guideline.


    I appreciated your knowledge, god bless you

    Thanks

    Amar K

+ 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] Linking Image to a cell value, and display the selected image in new sheet
    By siva venkata in forum Excel General
    Replies: 12
    Last Post: 03-25-2014, 02:34 AM
  2. Display selected picture value in a cell
    By pajc72 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-11-2014, 05:36 AM
  3. Replies: 3
    Last Post: 08-24-2012, 12:24 PM
  4. display a selected area of a excel sheet in a VB form
    By taniks in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2009, 11:44 AM
  5. [SOLVED] Display combo box in the selected cell
    By Venkat in forum Excel General
    Replies: 0
    Last Post: 06-26-2006, 01: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