Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub MainSort()
If ActiveSheet.Name = "1-OPEN" Then Call Sort ElseIf ActiveSheet.Name = "Internal Transfers" Then Call SortStatus Else MsgBox ("Sorry, sort not available") End If End Sub -- Vasant "Eager2Learn " wrote in message ... Hello, I am getting an error with this simple code. Help. Sub MainSort() If ActiveSheet = Worksheets("1-OPEN") Then Call Sort If ActiveSheet = Worksheets("Internal Transfers") Then Call SortStatus MsgBox ("Sorry, sort not available") End Sub Help. --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ActiveSheet.Paste (error) | Excel Worksheet Functions | |||
ActiveSheet.Paste - Error help? | Excel Discussion (Misc queries) | |||
help: Activesheet.save error with XL 2000 | Excel Programming | |||
ActiveSheet.Paste error | Excel Programming |