Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have this code:
Range("C:C,A:A").Select Selection.ColumnWidth = 4.57 EnableSelection = Excel.XlEnableSelection.xlNoSelection BUT it changes the with of columns A, B and C. I want B to be left alone. What am I doing wrong. Also will the last line of code work if I dont want anything to be selected? Another question that I posted already but its on 2 page now and I dont think it will get answared. In this code: With ActiveSheet .protect Password:="eli" .EnableSelection = xlUnlockedCells .protect DrawingObjects:=True, Contents:=True, Scenarios:=True _ , AllowFormattingCells:=True, AllowFormattingRows:=True End With I cant get the "p" in .protect to be capital "P". Everythine I change it it changes right back and the code dont work. Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Cell Width WITHOUT changing Column width | Excel Discussion (Misc queries) | |||
Column Width Template Question | Excel Discussion (Misc queries) | |||
how do I create multiple column width in the same column in excel | Excel Discussion (Misc queries) | |||
How to make cell width different than the column width it lies in | Excel Discussion (Misc queries) | |||
Change the width of a single column in a column chart | Charts and Charting in Excel |