Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The program halts and I get a Run-time error '1004' when I run the followin
code from Sheet1. But it works fine when I run it from Sheet2. Any ideas Thanks Kevi Sub test( Dim Message As Strin Message = MsgBox("This test # 1" With Worksheets("Sheet2").Range(Cells(3, 1), Cells(3, 5) Message = MsgBox("This test # 2" With .Borders(xlInsideVertical .LineStyle = xlContinuou .Weight = xlThi .ColorIndex = xlAutomati End Wit End Wit End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Referring to first cell in a range | Excel Discussion (Misc queries) | |||
Formula referring to a dynamic range in a different workbook | Excel Worksheet Functions | |||
How do I use indirect when referring to a named range in a closed | Excel Worksheet Functions | |||
Selecting a range without referring to specific cells | Excel Programming | |||
Referring to a user-selected range | Excel Programming |