Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Can I prevent a sheet from moving within a workbook?

I want to know if there is a way to "freeze" a worksheet like you can
freeze/unfreeze panes on a worksheet. I have an Excel workbook that is
comprised of approximately fifty worksheets. I use the first worksheet as a
"lookup" worksheet, whereby the user can select a particular worksheet name
from a dropdown list, and then click a button that will take them directly to
the worksheet they picked. I want to be able to keep the "lookup" worksheet
static in its place, whereby it will always be on the left-most position of
the worksheet tabs at the bottom of the workbook.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Can I prevent a sheet from moving within a workbook?

AFAIK, no.

--

Vasant

"JDGUILTY" wrote in message
...
I want to know if there is a way to "freeze" a worksheet like you can
freeze/unfreeze panes on a worksheet. I have an Excel workbook that is
comprised of approximately fifty worksheets. I use the first worksheet as

a
"lookup" worksheet, whereby the user can select a particular worksheet

name
from a dropdown list, and then click a button that will take them directly

to
the worksheet they picked. I want to be able to keep the "lookup"

worksheet
static in its place, whereby it will always be on the left-most position

of
the worksheet tabs at the bottom of the workbook.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Can I prevent a sheet from moving within a workbook?

A bit of a fudge, but you could always add this to the ThisWorkbook code
module. I am assuming that the workhseet is called Summary.

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Worksheets("Summary").Move befo=Worksheets(1)
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
AFAIK, no.

--

Vasant

"JDGUILTY" wrote in message
...
I want to know if there is a way to "freeze" a worksheet like you can
freeze/unfreeze panes on a worksheet. I have an Excel workbook that is
comprised of approximately fifty worksheets. I use the first worksheet

as
a
"lookup" worksheet, whereby the user can select a particular worksheet

name
from a dropdown list, and then click a button that will take them

directly
to
the worksheet they picked. I want to be able to keep the "lookup"

worksheet
static in its place, whereby it will always be on the left-most position

of
the worksheet tabs at the bottom of the workbook.





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Can I prevent a sheet from moving within a workbook?

I don't think that works, Bob; it makes the summary sheet active. I think
the OP wants the Summary sheet tab to be visible as the leftmost one on the
bottom even when Sheet99 is active.

Regards,

Vasant


"Bob Phillips" wrote in message
...
A bit of a fudge, but you could always add this to the ThisWorkbook code
module. I am assuming that the workhseet is called Summary.

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Worksheets("Summary").Move befo=Worksheets(1)
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
AFAIK, no.

--

Vasant

"JDGUILTY" wrote in message
...
I want to know if there is a way to "freeze" a worksheet like you can
freeze/unfreeze panes on a worksheet. I have an Excel workbook that is
comprised of approximately fifty worksheets. I use the first worksheet

as
a
"lookup" worksheet, whereby the user can select a particular worksheet

name
from a dropdown list, and then click a button that will take them

directly
to
the worksheet they picked. I want to be able to keep the "lookup"

worksheet
static in its place, whereby it will always be on the left-most

position
of
the worksheet tabs at the bottom of the workbook.







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Can I prevent a sheet from moving within a workbook?

You are correct, so this little mod might be better

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Worksheets("Summary").Move befo=Worksheets(1)
Application.EnableEvents = False
Sh.Activate
Application.EnableEvents = True
End Sub

Bob

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
I don't think that works, Bob; it makes the summary sheet active. I think
the OP wants the Summary sheet tab to be visible as the leftmost one on

the
bottom even when Sheet99 is active.

Regards,

Vasant


"Bob Phillips" wrote in message
...
A bit of a fudge, but you could always add this to the ThisWorkbook code
module. I am assuming that the workhseet is called Summary.

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Worksheets("Summary").Move befo=Worksheets(1)
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
AFAIK, no.

--

Vasant

"JDGUILTY" wrote in message
...
I want to know if there is a way to "freeze" a worksheet like you

can
freeze/unfreeze panes on a worksheet. I have an Excel workbook that

is
comprised of approximately fifty worksheets. I use the first

worksheet
as
a
"lookup" worksheet, whereby the user can select a particular

worksheet
name
from a dropdown list, and then click a button that will take them

directly
to
the worksheet they picked. I want to be able to keep the "lookup"
worksheet
static in its place, whereby it will always be on the left-most

position
of
the worksheet tabs at the bottom of the workbook.








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent data from moving to a different cell 40078046 Excel Worksheet Functions 1 February 28th 10 08:27 PM
Moving Sheet to Closed Workbook Roger Excel Discussion (Misc queries) 0 January 13th 08 05:16 PM
Prevent users to use a workbook/sheet after a specified day kelpie Excel Worksheet Functions 2 February 22nd 07 02:38 PM
Can I prevent a sheet from moving within a workbook? JDGUILTY Excel Programming 1 March 1st 05 05:53 PM
How to prevent pasting to every sheet in workbook Nigel Brown[_2_] Excel Programming 2 January 7th 04 03:33 PM


All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"