Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Paste link With Worksheet that has password

I have a document that I want to hide some of the rows from users. The
original workbook has a password so users cannot see the file. How do I
setup a pastelink with a password protected workbook or can I put a password
on original document that only allows user to see certain rows?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Paste link With Worksheet that has password

Brenna,

Hope this is what you were looking for, I didn't quite understand your post.

If you protect a sheet (Tools-Protection-Protect Sheet...) with a password
that has hidden rows the user will not be able to unhide the rows without
that password, but they can still open the document. The user still has the
option of entering a hidden cell reference into the 'Name Box' or using
Edit-Go To which will allow them to see the contents of the cell in the
formula bar.

The following code with stop them from using these methods. To enter the
code, right click the sheet tab and select "View Code"

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Range(Target.Address).EntireRow.Hidden = True Then Target.Offset(1,
0).Select
End Sub

Mike


"Brenna" wrote:

I have a document that I want to hide some of the rows from users. The
original workbook has a password so users cannot see the file. How do I
setup a pastelink with a password protected workbook or can I put a password
on original document that only allows user to see certain rows?

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 retrive password protected worksheet but forgot password? Laurie Excel Worksheet Functions 1 November 19th 09 09:42 PM
'paste special', 'paste link' formatting transfer jrebello Excel Discussion (Misc queries) 2 July 25th 07 08:46 AM
PASTE LINK option not available when I select PASTE SPECIAL to link an image in Excel to a Word document. tln Links and Linking in Excel 0 April 22nd 07 04:28 PM
Copy and paste link in worksheet is extremely slow. What to doÉ Franco Excel Discussion (Misc queries) 0 September 21st 05 04:41 PM
Paste Link enters a 0 into the cell where I paste. How do I elemin UNR Excel Discussion (Misc queries) 4 March 28th 05 01:54 AM


All times are GMT +1. The time now is 12:05 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"