LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Help! Security when using a VBA macro to access an Excel File

I have some data in an excel workbook and I wish to write some code to
extract one line (not so hard!). Where the problem arrives is I don't want
the user to see any of the other data in the worksheet (ever) - just that one
line that is extracted.

The macro (which would be converted to an add-in) would look like:
Load workbook
get one line of data
close workbook

But the user can hit <ctrl-break once the workbook is loaded and
see/examine the worksheet. What is the most secure method to use so that the
user cannot see the workbook? Would hiding the worksheets and protecting the
book work and macros work?

or alternatively would it be better to put the data into a database or csv
file?

Security is the paramount concern

Any Help Appreciated

Regards,


 
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
Excel 2007 - security / limiting access Paul Excel Discussion (Misc queries) 0 September 2nd 09 02:54 PM
Excel 2007 .xlsm file. Macro Security options not available. JP Excel Discussion (Misc queries) 1 July 17th 08 04:04 PM
How do I open an Access file with a macro in Excel? gaitkeeper Excel Programming 1 May 26th 05 10:06 PM
Access security and excel external data tmountjr[_2_] Excel Programming 1 December 2nd 04 10:04 AM
Export Excel data to Access Security problem Annelie[_3_] Excel Programming 5 December 30th 03 11:14 PM


All times are GMT +1. The time now is 01:25 PM.

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

About Us

"It's about Microsoft Excel"