LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
PegL
 
Posts: n/a
Default

You can everything within the With clause with
Application.Dialogs(xlDialogDataValidation).Show

"kayabob" wrote:

I have a macro that i want to select a 500 cells, go into the Data Validation
menu, and then pause so that the user can input their particular validation
parameters and the input message. Then when the use hits OK, I'd like the
macro to continue on it's way. Here's what I have, but it just selects the
cells and doesnt open the dialog box.
Application.Goto Reference:="R1C3:R500C3"
With Selection.Validation
.Delete
.Add Type:=xlValidateInputOnly, AlertStyle:=xlValidAlertStop,
Operator _
:=xlBetween
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True

Any help with explanation is appreciated as this is a feature I'd like to
use in several different scenarios. Thanks.

 
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
Serial Input to control Macro ekabnz Excel Discussion (Misc queries) 0 April 8th 05 10:49 AM
How do I pause a macro to select specific cells lee Excel Worksheet Functions 1 April 2nd 05 02:11 PM
Macro to move to specified cells, pause for input at each? Pete in Montrose Excel Discussion (Misc queries) 1 March 5th 05 06:18 PM
how to use the search dialog via a macro? cyrille Excel Worksheet Functions 4 February 17th 05 10:41 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM


All times are GMT +1. The time now is 11:28 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"