Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am using the following code to select a variable range of cells in a column
for formatting. ExcelSheet.Application.Range("B12").Select ExcelSheet.Application.Range(Selection, Selection.End(xlDown)).Select With ExcelSheet.Application.Selection .HorizontalAlignment = xlCenter .VerticalAlignment = xlBottom .WrapText = False .Orientation = 0 .AddIndent = False .IndentLevel = 0 .ShrinkToFit = False .ReadingOrder = xlContext .MergeCells = False End With I get a message that says "Object variable or with block variable not set." I suspect that my syntax may be slightly off somewhere. Any suggestions? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Tracking Date/Actual Working Time Elapsed | Excel Worksheet Functions | |||
Highlighted Reference Cell for a Working Cell | Excel Worksheet Functions | |||
Sumproduct suddenly not working | Excel Discussion (Misc queries) | |||
Calling another workbook not working | Excel Worksheet Functions | |||
how do I adjust working calendar (6 day work week) in excel that . | Excel Worksheet Functions |