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: 3
Default Macros in Template

Hi all,

I have developed a template form to collect data. The data
after being entered on the form it is stored on additional
sheets within the workbook for collect later.

I have written & stored 2 marcos within the workbook. One
protects the sheet from users selecting locked cells &
hides the additional sheets in the workbook. The other
unprotects the sheet & unhides the additional sheets.

I have saved the template after using the 'Protect' marco.

My problem is this:

When the template is opened as a new workbook the locked
cells are available to the user. I can still manually
activate the 'Protect' macro to block access to the locked
cells.

Is there something Im doing wrong in the 'set-up'
or 'programing'? or
Can a macro be set to activate when a new workbook is
opened?

Thanks for any assitance on this matter.

Dick Johnson
 
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
Macros for template Mike New Users to Excel 1 November 21st 09 07:35 PM
Macros for the AR Aging Workbook template? Ursula Excel Worksheet Functions 0 September 15th 05 08:52 PM
Template with macros reddog9069 Excel Discussion (Misc queries) 2 July 19th 05 03:51 PM
Disable macros in template d/l from MS? Ferret Daddy New Users to Excel 1 February 9th 05 12:54 AM
Macros in a template Michelle Excel Programming 1 October 16th 03 01:54 PM


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