Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need to always go to Sheet1
Hi
I am using a RefEdit bx as shown below. When the box is clicked to start, I want to always show Sheet1 for the selections. The following code did not work. I got this code by using the macro recorder, so must have missed something else that's needed. What would work here? Private Sub RefEdit1_DropButtonClick() Sheets("Sheet1").Select Sheets("Sheet1").Show End Sub Thank you, Keith |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need to always go to Sheet1
Hi, using this Private Sub RefEdit1_DropButtonClick() Sheets("Sheet1").Activate End Sub will ensure that the first sheet the user gets to click will be sheet 1. keith;309961 Wrote: Hi I am using a RefEdit bx as shown below. When the box is clicked to start, I want to always show Sheet1 for the selections. The following code did not work. I got this code by using the macro recorder, so must have missed something else that's needed. What would work here? Private Sub RefEdit1_DropButtonClick() Sheets("Sheet1").Select Sheets("Sheet1").Show End Sub Thank you, Keith -- Simon Lloyd Regards, Simon Lloyd 'The Code Cage' (http://www.thecodecage.com) ------------------------------------------------------------------------ Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=86663 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Need to always go to Sheet1
Hi Simon,
thanks very much. keith "Simon Lloyd" wrote: Hi, using this Private Sub RefEdit1_DropButtonClick() Sheets("Sheet1").Activate End Sub will ensure that the first sheet the user gets to click will be sheet 1. keith;309961 Wrote: Hi I am using a RefEdit bx as shown below. When the box is clicked to start, I want to always show Sheet1 for the selections. The following code did not work. I got this code by using the macro recorder, so must have missed something else that's needed. What would work here? Private Sub RefEdit1_DropButtonClick() Sheets("Sheet1").Select Sheets("Sheet1").Show End Sub Thank you, Keith -- Simon Lloyd Regards, Simon Lloyd 'The Code Cage' (http://www.thecodecage.com) ------------------------------------------------------------------------ Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=86663 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Upload Data from Sheet1 on Local Machine to Sheet1 on LAN | Excel Programming | |||
Copy from file1 sheet1/file2 sheet1 last blank row | Excel Programming | |||
[=Sheet1!A1] - if i use Column A1 ('Sheet1') / A2 ('Sheet2') | Excel Worksheet Functions | |||
Sheet1.Activate vs Sheet1.Select | Excel Programming | |||
Why Sheet1 is displayed in modules as sheet1 | Excel Programming |