Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default prompt for parameter/criteria

I have parameter's set-up in Excel for data that changes. My prompts a

e.g. =[Enter Date]

I don't have a problem with the parameter itself actually working. But
instead - when I used the Data/Refresh button, the prompt appears but there
are no words, - the "Enter Date" does not appear, it is just a blank
parameter box. When I have more than one parameter in a query it makes it
hard to figure out what info I am supposed to be entering when.

If I go in to Data/Import External Data/Edit Query, then hit the refresh
button in there, the words appear, then if I go back to my spreadsheet and
use the refresh command the words appear again. But if I save, close, then go
back in, the words do not appear until I go back in to Edit Query.

Any suggestions???
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default prompt for parameter/criteria

I think you need to enter design mode and chage the caption on the button.
I'm not sure if you are using a VBA Userform of a spreadsheet button so I
will tell you how to change both

VBA Userform
1) In the project window select the userform you are modifying
2) From the VBA menu - View - Properties Window.
3) Select the Button with mouse, the property window will show the button
properties. Change the Caption property


Worksheet button
1) From spreadsheet menu - View - ToolBars - Control Toolbox
2) Press triangle to Enter Design Mode
3) Press Properties Button on toolbar (hand holding square object)
4) Press button. change Caption Property .
5) Press Triangle again the exit design mode.
6) Spreadsheet should now function like normal. In Design mode the button
will not operate.



"Randi" wrote:

I have parameter's set-up in Excel for data that changes. My prompts a

e.g. =[Enter Date]

I don't have a problem with the parameter itself actually working. But
instead - when I used the Data/Refresh button, the prompt appears but there
are no words, - the "Enter Date" does not appear, it is just a blank
parameter box. When I have more than one parameter in a query it makes it
hard to figure out what info I am supposed to be entering when.

If I go in to Data/Import External Data/Edit Query, then hit the refresh
button in there, the words appear, then if I go back to my spreadsheet and
use the refresh command the words appear again. But if I save, close, then go
back in, the words do not appear until I go back in to Edit Query.

Any suggestions???

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default prompt for parameter/criteria

Sorry, I guess I should have been more specific. I am using a database query.
I am not using any "buttons". I go to the data menu and then choose refresh -
this is when the parameters dialog box appears but it is doesn't have a
caption. As mentioned, if I go to Data menu/Import External Data/Edit Query -
then click refresh, the caption is there.

It also may be usefull to note that when I go to Edit Query in the Data
Menu, I get a dialog box that appears that says "This query cannot be edited
by the Query Wizard." I select ok and then it opens up Microsoft Query. In
here I have a criteria value of: <=[Period?] When I click refresh
(without going in to Edit Query) the words "Period?" do not appear.

I am not very knowledgeable in these queries and am basically self taught,
so I am sorry if any of this is confusing or if I am not using the right
termanology. Let me know if you need more info.

Thanks for the help!

"Joel" wrote:

I think you need to enter design mode and chage the caption on the button.
I'm not sure if you are using a VBA Userform of a spreadsheet button so I
will tell you how to change both

VBA Userform
1) In the project window select the userform you are modifying
2) From the VBA menu - View - Properties Window.
3) Select the Button with mouse, the property window will show the button
properties. Change the Caption property


Worksheet button
1) From spreadsheet menu - View - ToolBars - Control Toolbox
2) Press triangle to Enter Design Mode
3) Press Properties Button on toolbar (hand holding square object)
4) Press button. change Caption Property .
5) Press Triangle again the exit design mode.
6) Spreadsheet should now function like normal. In Design mode the button
will not operate.



"Randi" wrote:

I have parameter's set-up in Excel for data that changes. My prompts a

e.g. =[Enter Date]

I don't have a problem with the parameter itself actually working. But
instead - when I used the Data/Refresh button, the prompt appears but there
are no words, - the "Enter Date" does not appear, it is just a blank
parameter box. When I have more than one parameter in a query it makes it
hard to figure out what info I am supposed to be entering when.

If I go in to Data/Import External Data/Edit Query, then hit the refresh
button in there, the words appear, then if I go back to my spreadsheet and
use the refresh command the words appear again. But if I save, close, then go
back in, the words do not appear until I go back in to Edit Query.

Any suggestions???

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default prompt for parameter/criteria

I'm just a user of MS Access queries. I just went into one of my Databases
and have not been able to duplicate your steps. I don't get a refresh
option. I'm using excel 2003.

I think there is some macro that is running in access. I would open up
access with you database and see which macros are setup. I don't think this
is an excel problem.

"Randi" wrote:

Sorry, I guess I should have been more specific. I am using a database query.
I am not using any "buttons". I go to the data menu and then choose refresh -
this is when the parameters dialog box appears but it is doesn't have a
caption. As mentioned, if I go to Data menu/Import External Data/Edit Query -
then click refresh, the caption is there.

It also may be usefull to note that when I go to Edit Query in the Data
Menu, I get a dialog box that appears that says "This query cannot be edited
by the Query Wizard." I select ok and then it opens up Microsoft Query. In
here I have a criteria value of: <=[Period?] When I click refresh
(without going in to Edit Query) the words "Period?" do not appear.

I am not very knowledgeable in these queries and am basically self taught,
so I am sorry if any of this is confusing or if I am not using the right
termanology. Let me know if you need more info.

Thanks for the help!

"Joel" wrote:

I think you need to enter design mode and chage the caption on the button.
I'm not sure if you are using a VBA Userform of a spreadsheet button so I
will tell you how to change both

VBA Userform
1) In the project window select the userform you are modifying
2) From the VBA menu - View - Properties Window.
3) Select the Button with mouse, the property window will show the button
properties. Change the Caption property


Worksheet button
1) From spreadsheet menu - View - ToolBars - Control Toolbox
2) Press triangle to Enter Design Mode
3) Press Properties Button on toolbar (hand holding square object)
4) Press button. change Caption Property .
5) Press Triangle again the exit design mode.
6) Spreadsheet should now function like normal. In Design mode the button
will not operate.



"Randi" wrote:

I have parameter's set-up in Excel for data that changes. My prompts a

e.g. =[Enter Date]

I don't have a problem with the parameter itself actually working. But
instead - when I used the Data/Refresh button, the prompt appears but there
are no words, - the "Enter Date" does not appear, it is just a blank
parameter box. When I have more than one parameter in a query it makes it
hard to figure out what info I am supposed to be entering when.

If I go in to Data/Import External Data/Edit Query, then hit the refresh
button in there, the words appear, then if I go back to my spreadsheet and
use the refresh command the words appear again. But if I save, close, then go
back in, the words do not appear until I go back in to Edit Query.

Any suggestions???

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default prompt for parameter/criteria

Sorry, again I didn't provide enough information. My query is not from an
access database. The driver is a: Microsoft ODBC for Oracle.

It is a program that was created internally and I am pulling from it's
database files to create custom reports.

"Joel" wrote:

I'm just a user of MS Access queries. I just went into one of my Databases
and have not been able to duplicate your steps. I don't get a refresh
option. I'm using excel 2003.

I think there is some macro that is running in access. I would open up
access with you database and see which macros are setup. I don't think this
is an excel problem.

"Randi" wrote:

Sorry, I guess I should have been more specific. I am using a database query.
I am not using any "buttons". I go to the data menu and then choose refresh -
this is when the parameters dialog box appears but it is doesn't have a
caption. As mentioned, if I go to Data menu/Import External Data/Edit Query -
then click refresh, the caption is there.

It also may be usefull to note that when I go to Edit Query in the Data
Menu, I get a dialog box that appears that says "This query cannot be edited
by the Query Wizard." I select ok and then it opens up Microsoft Query. In
here I have a criteria value of: <=[Period?] When I click refresh
(without going in to Edit Query) the words "Period?" do not appear.

I am not very knowledgeable in these queries and am basically self taught,
so I am sorry if any of this is confusing or if I am not using the right
termanology. Let me know if you need more info.

Thanks for the help!

"Joel" wrote:

I think you need to enter design mode and chage the caption on the button.
I'm not sure if you are using a VBA Userform of a spreadsheet button so I
will tell you how to change both

VBA Userform
1) In the project window select the userform you are modifying
2) From the VBA menu - View - Properties Window.
3) Select the Button with mouse, the property window will show the button
properties. Change the Caption property


Worksheet button
1) From spreadsheet menu - View - ToolBars - Control Toolbox
2) Press triangle to Enter Design Mode
3) Press Properties Button on toolbar (hand holding square object)
4) Press button. change Caption Property .
5) Press Triangle again the exit design mode.
6) Spreadsheet should now function like normal. In Design mode the button
will not operate.



"Randi" wrote:

I have parameter's set-up in Excel for data that changes. My prompts a

e.g. =[Enter Date]

I don't have a problem with the parameter itself actually working. But
instead - when I used the Data/Refresh button, the prompt appears but there
are no words, - the "Enter Date" does not appear, it is just a blank
parameter box. When I have more than one parameter in a query it makes it
hard to figure out what info I am supposed to be entering when.

If I go in to Data/Import External Data/Edit Query, then hit the refresh
button in there, the words appear, then if I go back to my spreadsheet and
use the refresh command the words appear again. But if I save, close, then go
back in, the words do not appear until I go back in to Edit Query.

Any suggestions???



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default prompt for parameter/criteria

I have never written an Oracle script. Oracle is just a Front End Scripting
Language for accessing a database like access.

"Randi" wrote:

Sorry, again I didn't provide enough information. My query is not from an
access database. The driver is a: Microsoft ODBC for Oracle.

It is a program that was created internally and I am pulling from it's
database files to create custom reports.

"Joel" wrote:

I'm just a user of MS Access queries. I just went into one of my Databases
and have not been able to duplicate your steps. I don't get a refresh
option. I'm using excel 2003.

I think there is some macro that is running in access. I would open up
access with you database and see which macros are setup. I don't think this
is an excel problem.

"Randi" wrote:

Sorry, I guess I should have been more specific. I am using a database query.
I am not using any "buttons". I go to the data menu and then choose refresh -
this is when the parameters dialog box appears but it is doesn't have a
caption. As mentioned, if I go to Data menu/Import External Data/Edit Query -
then click refresh, the caption is there.

It also may be usefull to note that when I go to Edit Query in the Data
Menu, I get a dialog box that appears that says "This query cannot be edited
by the Query Wizard." I select ok and then it opens up Microsoft Query. In
here I have a criteria value of: <=[Period?] When I click refresh
(without going in to Edit Query) the words "Period?" do not appear.

I am not very knowledgeable in these queries and am basically self taught,
so I am sorry if any of this is confusing or if I am not using the right
termanology. Let me know if you need more info.

Thanks for the help!

"Joel" wrote:

I think you need to enter design mode and chage the caption on the button.
I'm not sure if you are using a VBA Userform of a spreadsheet button so I
will tell you how to change both

VBA Userform
1) In the project window select the userform you are modifying
2) From the VBA menu - View - Properties Window.
3) Select the Button with mouse, the property window will show the button
properties. Change the Caption property


Worksheet button
1) From spreadsheet menu - View - ToolBars - Control Toolbox
2) Press triangle to Enter Design Mode
3) Press Properties Button on toolbar (hand holding square object)
4) Press button. change Caption Property .
5) Press Triangle again the exit design mode.
6) Spreadsheet should now function like normal. In Design mode the button
will not operate.



"Randi" wrote:

I have parameter's set-up in Excel for data that changes. My prompts a

e.g. =[Enter Date]

I don't have a problem with the parameter itself actually working. But
instead - when I used the Data/Refresh button, the prompt appears but there
are no words, - the "Enter Date" does not appear, it is just a blank
parameter box. When I have more than one parameter in a query it makes it
hard to figure out what info I am supposed to be entering when.

If I go in to Data/Import External Data/Edit Query, then hit the refresh
button in there, the words appear, then if I go back to my spreadsheet and
use the refresh command the words appear again. But if I save, close, then go
back in, the words do not appear until I go back in to Edit Query.

Any suggestions???

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
entering parameter criteria MS Query KM01 Excel Discussion (Misc queries) 0 April 29th 10 12:46 PM
Does the COUNTIF criteria parameter accepts functions? [email protected] Excel Worksheet Functions 3 May 22nd 08 09:50 AM
How to count a range of number to a given parameter or criteria. Saul Excel Worksheet Functions 4 October 26th 07 11:32 PM
Parameter/Criteria option not available for External Data Query rael_lucid Excel Discussion (Misc queries) 2 April 11th 06 03:48 AM
Using Autofilter to prompt for criteria Rob Excel Programming 1 January 20th 06 05:50 PM


All times are GMT +1. The time now is 05:37 AM.

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"