Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.excel.programming > #109674 > unrolled thread

sheet specific desktop shortcut

Started byPaul Doucette <pauld@mewood.com>
First post2016-11-24 12:33 -0800
Last post2016-11-25 09:44 -0800
Articles 5 — 4 participants

Back to article view | Back to microsoft.public.excel.programming


Contents

  sheet specific desktop shortcut Paul Doucette <pauld@mewood.com> - 2016-11-24 12:33 -0800
    Re: sheet specific desktop shortcut Claus Busch <claus_busch@t-online.de> - 2016-11-25 07:36 +0100
    Re: sheet specific desktop shortcut isabelle <i@v.invalid> - 2016-11-25 01:44 -0500
    Re: sheet specific desktop shortcut aloinam109 <aloinam109@gmail.com> - 2016-11-25 14:02 +0000
    Re: sheet specific desktop shortcut Paul Doucette <pauld@mewood.com> - 2016-11-25 09:44 -0800

#109674 — sheet specific desktop shortcut

FromPaul Doucette <pauld@mewood.com>
Date2016-11-24 12:33 -0800
Subjectsheet specific desktop shortcut
Message-ID<f17942ac-2d21-436e-b0b2-c46e5c0f29b0@googlegroups.com>
G\Is it possible to have a desktop shortcut open an excel file and go to a specific worksheet, even if the file was saved with a different sheet selected?
I have a workbook with about 20 worksheets, and four users. I would like it to open to a different sheet for each user.

Thanks!! 

[toc] | [next] | [standalone]


#109678

FromClaus Busch <claus_busch@t-online.de>
Date2016-11-25 07:36 +0100
Message-ID<o18m3o$o7b$1@dont-email.me>
In reply to#109674
Hi Pual,

Am Thu, 24 Nov 2016 12:33:06 -0800 (PST) schrieb Paul Doucette:

> G\Is it possible to have a desktop shortcut open an excel file and go to a specific worksheet, even if the file was saved with a different sheet selected?
> I have a workbook with about 20 worksheets, and four users. I would like it to open to a different sheet for each user.

in a standard module:

Sub UsersSheet()
Dim shN As String

Select Case Application.UserName
    Case "Name1"
        shN = "Sheet1"
    Case "Name2"
        shN = "Sheet2"
    Case "Name2"
        shN = "Sheet3"
        .
        .
        .
End Select

Application.Goto Sheets(shN).Range("A1")
End Sub

Change Name to the expected user names.
In code module "ThisWorkbook":

Private Sub Workbook_Open()
UsersSheet
End Sub


Regards
Claus B.
-- 
Windows10
Office 2016

[toc] | [prev] | [next] | [standalone]


#109679

Fromisabelle <i@v.invalid>
Date2016-11-25 01:44 -0500
Message-ID<o18mkm$vle$1@gioia.aioe.org>
In reply to#109674
Hi,

macros example: put on Thisworkbook of your file

Private Sub Workbook_Open()
Select Case Application.UserName
  Case "isabelle": Sheets(4).Activate
  Case "blabla1": Sheets(2).Activate
  Case "blabla2": Sheets(1).Activate
  Case "blabla3": Sheets(3).Activate
End Select
End Sub

Otherwise, would can do a référence table for users names

isabelle

Le 2016-11-24 à 15:33, Paul Doucette a écrit :
> G\Is it possible to have a desktop shortcut open an excel file and go to a specific worksheet, even if the file was saved with a different sheet selected?
> I have a workbook with about 20 worksheets, and four users. I would like it to open to a different sheet for each user.
>
> Thanks!!
>

[toc] | [prev] | [next] | [standalone]


#109680

Fromaloinam109 <aloinam109@gmail.com>
Date2016-11-25 14:02 +0000
Message-ID<aloinam109.127e04d8@excelbanter.com>
In reply to#109674
*     [image:
http://batdongsanquangninh.vn/images/banners/logo.png]*
WEBSITE BATDONGSANQUANGNINH.VN LÃ* WEBSITE HÃ*NG đầU Về
QUảNG CáO, MUA BáN BấT độNG SảN TạI QUảNG NINH, CHÃ*NH
THứC đươC THÃ*NH Láº*P VÃ*O NăM 2012. LÄ©NH Vá»±C HOạT độNG
CHÃ*NH Cá»§A CôNG TY LÃ* QUảNG CáO, Tư VấN, MôI GIá»›I, MUA
BáN, CHO THUê BấT độNG SảN.
Trải qua nhiều năm hoạt động chúng tôi đã nỗ lực
vượt qua mọi khó khăn để dần từng bước thay đổi
được phương thức quảng cáo vÃ* mua bán truyền thống
cá»§a người dân thÃ*nh phố giúp cho Người bán vÃ* Người
mua rá»… dÃ*ng thá»±c hiện các giao dịch mua bán nhÃ*, đất
một cách minh bạch, nhanh chóng. Rút kinh nghiệm qua việc
hoạt động nhiều năm và từ những ý kiến đóng góp
của quý khách, trong thời gian tới chúng tôi sẽ nỗ lực
hÆ¡n nưa nhằm phát triển Website có thêm những tÃ*nh năng ưu
việt, quảng bá rộng khắp hơn nữa giúp cho các giao dịch
được tiến hÃ*nh má»™t cách nhanh chóng.

Ra đời xuất phát từ trải nghiệm thực tế của
chÃ*nh người sáng láº*p ra Công ty vá»›i mong muốn giúp cho
cộng đồng có được thông tin minh bạch mang lại giá trị
lợi Ã*ch tốt nhất cho khách hÃ*ng. Đây chÃ*nh lÃ* cÆ¡ sở
nền tảng để công ty xây dựng phương châm kinh doanh với
mong muốn mang đến sá»± chuyên nghiệp, uy tÃ*n, niềm tin cho
khách hÃ*ng.

::*CáC DịCH Vụ CHÃ*NH*:::
- Đăng tin quảng cáo mua bán nhÃ* đất
- Đăng banner quảng cáo
- Đăng bÃ*i PR quảng bá sản phẩm, dịch vụ bất động
sản
- Tư vấn, mua bán bất động sản
- Môi giới bất động sản
- 'NhÃ* đất quảng ninh' (http://batdongsanquangninh.vn)
- 'nha dat hạ long' (http://batdongsanquangninh.vn)
- 'mua đất quang ninh' (http://batdongsanquangninh.vn)
- 'nha dat ha long' (http://batdongsanquangninh.vn)
*::MọI THôNG TIN đóNG GóP, QUý KHáCH VUI LòNG LIêN Hệ::*

*Địa chỉ : Nguyễn Văn Cừ - Hạ Long - Quảng
Ninh**Điện thoại : 0984.690.188**Email :
batdongsanquangninh.vn@gmail.com*




-- 
aloinam109

[toc] | [prev] | [next] | [standalone]


#109682

FromPaul Doucette <pauld@mewood.com>
Date2016-11-25 09:44 -0800
Message-ID<11eaaa04-2415-4f74-8bb8-b49062842f1e@googlegroups.com>
In reply to#109674
On Thursday, November 24, 2016 at 3:33:15 PM UTC-5, Paul Doucette wrote:
> G\Is it possible to have a desktop shortcut open an excel file and go to a specific worksheet, even if the file was saved with a different sheet selected?
> I have a workbook with about 20 worksheets, and four users. I would like it to open to a different sheet for each user.
> 
> Thanks!!

Thanks very Much!!! Worked perfectly!!

[toc] | [prev] | [standalone]


Back to top | Article view | microsoft.public.excel.programming


csiph-web