Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() When writing a macro for a parameter query in Excel pivot table, I ca do this: *“WHERE field = ?” * and I am given a promp “-Parameter 1-” before running the pivot. I would like t customize the prompt but have not been successful. I trie “*WHERE field = [Give Branch Name]*” which works with M Query but not in VBA. Alternatively, there is a PromptString propert in VB but it works only for QueryTable (Parameters is not a member o PivotTable). How do I change the default prompt to something mor instructive -- bcha ----------------------------------------------------------------------- bchan's Profile: http://www.excelforum.com/member.php...nfo&userid=827 View this thread: http://www.excelforum.com/showthread.php?threadid=27008 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Parameter query in MS Query from Excel | Excel Discussion (Misc queries) | |||
Convert hard coded query criteria to Parameter Query | Excel Discussion (Misc queries) | |||
How to choose if I use a parameter or not in a parameter query | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) | |||
Parameter Query executed from a Macro | Excel Programming |