Consulting

Results 1 to 2 of 2

Thread: Select a cell in sheet2 when I'm on sheet1?

  1. #1

    Select a cell in sheet2 when I'm on sheet1?

    I have a button on sheet1 that will restore the values of certain cells back to default (all values are on sheet1.) But I want to be able to do this - whenever I click on sheet2, the A1 box will be selected. How do you do that?

    Basically, is it possible to add some codes in my restore button that's on sheet1 one to make sure the *highlighted* cell is always A1 on sheet2?

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    Hi doctortt,

    You shouldn't need to select/highlight (activate) any cells on either sheet - simply address them directly.

    Perhaps if you could explain what you're trying to achieve, and post the code you're using, a better way could be worked out.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •