A couple of questions for members to whom “excel” in Excel! :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

A couple of questions for members to whom “excel” in Excel!
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

sampson32
Board Regular


Joined: 16 Jul 2003
Posts: 89

Flag: Blank

Status: Offline

 Reply with quote  

A couple of questions for members to whom “excel” in Excel!

A couple of questions for members to whom “excel” in Excel!

1) I know you can “name” a cell (name box left of formula bar) and this name remains with that cell anywhere it may be positioned
*the above mentioned for example only.

Question:
Quite often I have to go into my spreadsheet and add various products (rows) to the several categories. I unlock the entire spreadsheet make all of my alterations then relock the entire sheet. I then go through and unlock the few cells that need to remain unlocked.

Can a cell be “marked” in a way as to make it remain unlocked? So when I lock the entire spreadsheet, regardless, these “marked” cells remain unlocked.

2) Can anyone point me to a post dealing with “autosizing” – independent of resolution (so my application will look the same regardless of an employees screen resolution?)

*********************
On a lesser issue – just for my knowledge – when dealing with custom commandbars in VBA, when a commandbar is created and added to the Toolbar menu - unless it is deleted and recreated after any changes to the VB code – the changes made will not materialize, it lives on the code it was created with. My question: where is the information the toolbars use kept? Is this code kept internal after their creation?
*********************
Thank you,
Sam

Post Fri Sep 19, 2003 7:29 pm 
 View user's profile Send private message

Iridium
Board Master
Board Master


Joined: 16 Jul 2002
Posts: 2581
Location: Walsall, England
Flag: England

Status: Offline

 Reply with quote  

Re: A couple of questions for members to whom “excel” in Exc

Select the cells you want to remain unlocked then Format>Cells and choose the protection tab. Uncheck the locked check box

HTH
_________________

Post Fri Sep 19, 2003 7:37 pm 
 View user's profile Send private message

parry
MrExcel MVP


Joined: 21 Aug 2002
Posts: 1332
Location: Wellington, New Zealand
Flag: Newzealand

Status: Offline

 Reply with quote  

Re: A couple of questions for members to whom “excel” in Exc

Hi, I dont consider myself in the excel..lent alumni, nut heres my thoughts...

1. Protecting Cells
By default, every cell has the lock on but it has no affect until protection is applied. If a cell is unlocked and protection exists it will allow the user to edit the cell. So just leave the cells unlocked (format-cells-protection tab).

2.Screen resolution
This is for an Excel alumni! Dont know sorry icon_frown.gif

3. Custom Commandbars
To me its just like where you create a macro then assign a buton to it. Because you have told Excel that a macro is assigned to the button, it will run the macro thats behind it when you click it. if you create a custom menu, then whatever function youve put to that option will happen. If you just created the menu with no function behind it it would just sit there and look pretty icon_smile.gif These custom bars can be permanent (changes will remain for all workbooks) or just appear for that particular workbook.

Post Fri Sep 19, 2003 7:48 pm 
 View user's profile Send private message

pennysaver
Board Master


Joined: 15 May 2003
Posts: 2189
Location: San Diego, California
Flag: Usa

Status: Offline

 Reply with quote  

Re: A couple of questions for members to whom “excel” in Exc

For # 2, you can use a Windows API call to determine the current video mode width x height and adjust zoom from there.

This is from John Walkenbach:

code:

32-bit API declaration
Declare Function GetSystemMetrics Lib "user32" _
  (ByVal nIndex As Long) As Long

Public Const SM_CXSCREEN = 0
Public Const SM_CYSCREEN = 1

Sub DisplayVideoInfo()
    vidWidth = GetSystemMetrics(SM_CXSCREEN)
    vidHeight = GetSystemMetrics(SM_CYSCREEN)
   
    Msg = "The current video mode is: "
    Msg = Msg & vidWidth & " X " & vidHeight
    MsgBox Msg
End Sub




Hope that helps,

Smitty

Post Fri Sep 19, 2003 8:00 pm 
 View user's profile Send private message Visit poster's website MSN Messenger

Iridium
Board Master
Board Master


Joined: 16 Jul 2002
Posts: 2581
Location: Walsall, England
Flag: England

Status: Offline

 Reply with quote  

Re: A couple of questions for members to whom “excel” in Exc

I have a feeling Ivan can help, you with the resolution issue (PM link included)
_________________

Post Fri Sep 19, 2003 8:01 pm 
 View user's profile Send private message
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.