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: 1
Default Opening and closing a picture dialogue box

Hi all

I need some help (I'm not very good with VB):

I'd like to have a command button within my spreadsheet that whe
clicked on opens up the INSERT PICTURE FROM FILE dialogue box, whic
then allows a user to select a picture then click OK.

Sounds easy? Well the problem is that the spreadsheet is going to b
password protected. Therefore the command button needs to:

1. When clicked on automatically unprotect the spreadsheet (by secretl
inserting the password - i.e. without the users seeing what it is)
2. Open up the INSERT PICTURE FROM FILE dialogue box
3. Allow a user to find their pic and click OK (go to 4)
3a. If the user clicks cancel go to 4
4. Close the dialogue box and automatically re-protect th
spreadsheet.
5. Allow the user to re-size and drag the picture around to where the
want it.

Is this possible?? I really want the spreadsheet protected as there ar
certain control boxes and nested IF's that I don't want the user to b
able to alter, but one of the key features is that they are to be abl
to enter a picture into the sheet.

Thank you for all your hel

--
Message posted from http://www.ExcelForum.com

 
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
Slow Opening & Odd Closing ohsix New Users to Excel 1 May 20th 07 05:28 PM
Closing a workbook upon opening another Dave New Users to Excel 3 January 3rd 07 09:57 PM
Opening and closing workbook with VBA... Trevor[_4_] Excel Programming 1 March 4th 04 08:33 PM
Opening Open File Dialogue box from Excel97 Scampa7[_5_] Excel Programming 0 November 19th 03 08:34 PM
Opening and Closing workbooks Jase Excel Programming 1 October 15th 03 06:28 AM


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