Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

two questions about Excel

Status
Not open for further replies.

radarguy

Technical User
Joined
Aug 3, 2004
Messages
2
Location
US
I am new to this forum and look forward to the obvious expertise represented here. I have two basic questions:
1) How can I lock the cells that are displayed in a worksheet. I have a background set and do not want it to look like it is wallpaper. I just want the first instance to show.
2) I want to control the size of a comment that I am creating in a macro. I cannot seem to do it based on what recording a macro shows.
Thnaks in advance for the help.
 
Hi,

You can lock cells with these two steps...

1) Format/Cells/Protection - Check the Locked check box.

2) Tools/Protection/Protect Sheet.

You stated, "I have a background set and do not want it to look like it is wallpaper. I just want the first instance to show."

The first instance of WHAT?

Please post the code that you recorded for you comments.

Skip,

[glasses] [red]Be advised:[/red] Alcohol and Calculus do not mix!
If you drink, don't derive! [tongue]

Want to get great answers to your Tek-Tips questions? Have a look at FAQ222-2244
 
Thanks for the reply, Skip.
I knew about the protection lock but it seems I remember opening a worksheet one time that the size was locked and not just the manipulation of the cells.

If you go to Format, Sheet, Background and insert a JPG, it will be painted onto the spreadsheet like HTML background and repeat vertically and horizontally. I have not found a way to just paint it once or, like described above, lock the size of the sheet.
Thanks again.
 
rg,

There seems to be no way to resize the pic within Excel. So this appears to be the choices...

1) resize the pic to fit in some other application, saveas and use that pic.

or

2) Reduce the size of the Excel window to fit the pic.

Skip,

[glasses] [red]Be advised:[/red] Alcohol and Calculus do not mix!
If you drink, don't derive! [tongue]

Want to get great answers to your Tek-Tips questions? Have a look at FAQ222-2244
 
Hi RadarGuy,

in answer to your query:

it seems I remember opening a worksheet one time that the size was locked

to get this effect, do Tools/Protection/Protect Workbook and tick the Windows checkbox.

Cheers, Glenn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top