Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
85225
 
Posts: n/a
Default Templates/Forms/Boxes in Excel

I am trying to create a user friendly document for my colleagues.

I have created an excel query that gets data from our back office system.
This query gets information for all 12 months of the year. From all this
data, a report needs to be created for 1 month of the data depending on which
month the user needs to create a report for. I would like the report to be
created automatically (through macros etc...) once the user has inputed which
month/year he requires.
I am not sure how to go about this. 1 alternative I was considering would be
to have a message box pop onto the screen and then from this box the user
could pick his month/yr and then I could grab the values in order to create
the required report. Or, another alternative would be to create a form that
the user could enter the info into and then I could grab the values in order
to create the required report.
I am having difficulty finding information on both of these ideas. Can
someone help me?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Tom Ogilvy
 
Posts: n/a
Default Templates/Forms/Boxes in Excel

The easiest is to use an inputbox

res = InputBox("Enter a month, ex: "Jan")

If you wanted to trigger this from a Refresh, you would need to instantiate
events for the query.

http://support.microsoft.com/kb/213187/en-us
XL2000: How to Use the Query BeforeRefresh and AfterRefresh Events

--
Regards,
Tom Ogilvy



"85225" wrote:

I am trying to create a user friendly document for my colleagues.

I have created an excel query that gets data from our back office system.
This query gets information for all 12 months of the year. From all this
data, a report needs to be created for 1 month of the data depending on which
month the user needs to create a report for. I would like the report to be
created automatically (through macros etc...) once the user has inputed which
month/year he requires.
I am not sure how to go about this. 1 alternative I was considering would be
to have a message box pop onto the screen and then from this box the user
could pick his month/yr and then I could grab the values in order to create
the required report. Or, another alternative would be to create a form that
the user could enter the info into and then I could grab the values in order
to create the required report.
I am having difficulty finding information on both of these ideas. Can
someone help me?
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
85225
 
Posts: n/a
Default Templates/Forms/Boxes in Excel

Is there another function similar to the inputbox but where there is a
dropdown list box from which the user can pick a month, thus eliminating
spelling mistakes?

"Tom Ogilvy" wrote:

The easiest is to use an inputbox

res = InputBox("Enter a month, ex: "Jan")

If you wanted to trigger this from a Refresh, you would need to instantiate
events for the query.

http://support.microsoft.com/kb/213187/en-us
XL2000: How to Use the Query BeforeRefresh and AfterRefresh Events

--
Regards,
Tom Ogilvy



"85225" wrote:

I am trying to create a user friendly document for my colleagues.

I have created an excel query that gets data from our back office system.
This query gets information for all 12 months of the year. From all this
data, a report needs to be created for 1 month of the data depending on which
month the user needs to create a report for. I would like the report to be
created automatically (through macros etc...) once the user has inputed which
month/year he requires.
I am not sure how to go about this. 1 alternative I was considering would be
to have a message box pop onto the screen and then from this box the user
could pick his month/yr and then I could grab the values in order to create
the required report. Or, another alternative would be to create a form that
the user could enter the info into and then I could grab the values in order
to create the required report.
I am having difficulty finding information on both of these ideas. Can
someone help me?
Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
Tom Ogilvy
 
Posts: n/a
Default Templates/Forms/Boxes in Excel

No. No built in popup menu. In a cell you could use Data =Validation from
a pop up menu. See Debra Dalgleish's site for examples.

http://www.contextures.com/tiptech.html

--
Regards,
Tom Ogilvy


"85225" wrote:

Is there another function similar to the inputbox but where there is a
dropdown list box from which the user can pick a month, thus eliminating
spelling mistakes?

"Tom Ogilvy" wrote:

The easiest is to use an inputbox

res = InputBox("Enter a month, ex: "Jan")

If you wanted to trigger this from a Refresh, you would need to instantiate
events for the query.

http://support.microsoft.com/kb/213187/en-us
XL2000: How to Use the Query BeforeRefresh and AfterRefresh Events

--
Regards,
Tom Ogilvy



"85225" wrote:

I am trying to create a user friendly document for my colleagues.

I have created an excel query that gets data from our back office system.
This query gets information for all 12 months of the year. From all this
data, a report needs to be created for 1 month of the data depending on which
month the user needs to create a report for. I would like the report to be
created automatically (through macros etc...) once the user has inputed which
month/year he requires.
I am not sure how to go about this. 1 alternative I was considering would be
to have a message box pop onto the screen and then from this box the user
could pick his month/yr and then I could grab the values in order to create
the required report. Or, another alternative would be to create a form that
the user could enter the info into and then I could grab the values in order
to create the required report.
I am having difficulty finding information on both of these ideas. Can
someone help me?
Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
85225
 
Posts: n/a
Default Templates/Forms/Boxes in Excel

Thank you for your help.

"Tom Ogilvy" wrote:

No. No built in popup menu. In a cell you could use Data =Validation from
a pop up menu. See Debra Dalgleish's site for examples.

http://www.contextures.com/tiptech.html

--
Regards,
Tom Ogilvy


"85225" wrote:

Is there another function similar to the inputbox but where there is a
dropdown list box from which the user can pick a month, thus eliminating
spelling mistakes?

"Tom Ogilvy" wrote:

The easiest is to use an inputbox

res = InputBox("Enter a month, ex: "Jan")

If you wanted to trigger this from a Refresh, you would need to instantiate
events for the query.

http://support.microsoft.com/kb/213187/en-us
XL2000: How to Use the Query BeforeRefresh and AfterRefresh Events

--
Regards,
Tom Ogilvy



"85225" wrote:

I am trying to create a user friendly document for my colleagues.

I have created an excel query that gets data from our back office system.
This query gets information for all 12 months of the year. From all this
data, a report needs to be created for 1 month of the data depending on which
month the user needs to create a report for. I would like the report to be
created automatically (through macros etc...) once the user has inputed which
month/year he requires.
I am not sure how to go about this. 1 alternative I was considering would be
to have a message box pop onto the screen and then from this box the user
could pick his month/yr and then I could grab the values in order to create
the required report. Or, another alternative would be to create a form that
the user could enter the info into and then I could grab the values in order
to create the required report.
I am having difficulty finding information on both of these ideas. Can
someone help me?
Thanks!

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Need suggestions for some uses of Ms Excel Bible John Excel Discussion (Misc queries) 1 February 27th 06 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


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