Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just trying to select the data table and then have the SORT tool appear on
the screen. This code worked last night but when i bring up the file this morning I kept getting the following error: Run-time error '1001' Show method of Dialog class failed. Where have I gone wrong? THANKS! Sub Button22_Click() ActiveSheet.Range(Cells(8, 1), Cells(237, 12)).Select Application.Dialogs(xlDialogSort).Show End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Works for me. Did you change ANYTHING? E.g. move the module from one
workbook to another etc...? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My GUESS would be that the workbook is protected - which would stop the
sort dialog being displayed |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As far as I know I hadn't changed a thing - just opened the file.
Just incase I had done something wrong i started in a brand new file from scratch without any other macros or anything i just put in some random data and tried to get this code to work and to no avail. "Barry-Jon" wrote: Works for me. Did you change ANYTHING? E.g. move the module from one workbook to another etc...? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What version of Excel are you using? What OS? Have you got a full
office installation? Have you installed or changed the installation of any applications on the machine causing the problem? Does it work on any other machines? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error dialog box meaning and how to find error | Excel Worksheet Functions | |||
help with this error-Compile error: cant find project or library | Excel Discussion (Misc queries) | |||
Can't seem to find the error with this code | Excel Programming | |||
How can I still go to the error-code after a On Error Goto? | Excel Programming | |||
Code Error - Run Time Error 5 (Disable Cut, Copy & Paste) | Excel Programming |