Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Alerts in sorting

When I try to sort my data using the
Application.Dialogs(xlDialogSort).Show, I get an alert telling me that
some of my data is number as text and ask me for an option.

How can I programmatically avoid this alert?

Application.DisplayAlerts=False doesn't work

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Alerts in sorting

Don't use the dialog.

use the sort method in code and set the parameters you want.


Turn on the macro recorder and do the sort manually. Then turn off the
macro recorder and look at the recorded code. If you run it, the dialog
(nor the prompt) will be shown.
--
Regards,
Tom Ogilvy


wrote in message
oups.com...
When I try to sort my data using the
Application.Dialogs(xlDialogSort).Show, I get an alert telling me that
some of my data is number as text and ask me for an option.

How can I programmatically avoid this alert?

Application.DisplayAlerts=False doesn't work



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alerts.... gustin Excel Discussion (Misc queries) 4 January 3rd 10 11:43 PM
Alerts Mark Excel Discussion (Misc queries) 2 September 9th 09 03:01 PM
Alerts Mohamed[_2_] Excel Discussion (Misc queries) 1 December 31st 08 02:10 PM
Alerts? audiophile New Users to Excel 4 December 29th 05 02:16 PM
alerts peter Excel Programming 0 January 27th 05 07:34 PM


All times are GMT +1. The time now is 02:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"