Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
cdb cdb is offline
external usenet poster
 
Posts: 62
Default Using a static set of data to use as input criteria

I currently have a macro that copies a sheet to a different workbook
dependant on who the adviser is. It currently picks the adviser name up from
a cell in a sheet, but what I would like it to do is then when the macro is
set off, some kind of input box comes up and gives the option of which
adviser name to choose (be it a dropdown menu, a tick box etc)

Anyone know how to do this?

Cheers,

cdb
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Using a static set of data to use as input criteria

You would need to create a custom userform to provide a dropdown of names.


here are some references:
http://www.visualbasicforum.com/show...409#post594409


http://support.microsoft.com/?id=168067
XL97: WE1163: "Visual Basic Examples for Controlling UserForms"

Microsoft(R) Visual Basic(R) for Applications Examples for Controlling
UserForms in Microsoft Excel 97

This Application Note is an introduction to manipulating UserForms in
Microsoft Excel 97. It includes examples and Microsoft Visual Basic for
Applications macros that show you how to take advantage of the capabilities
of UserForms and use each of the ActiveX controls that are available for
UserForms

http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.



http://support.microsoft.com/default.aspx?kbid=161514
XL97: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=213749
XL2000: How to Use a UserForm for Entering Data


John Walkenbach's site:
http://j-walk.com/ss/excel/tips/userformtips.htm
Userform Tips

Peter Aiken Articles:

watch word wrap. the URL should all be one line.
Part I
http://msdn.microsoft.com/library/en...uctiontoUserFo
rmsPartI.asp
Part II
http://msdn.microsoft.com/library/en...uctiontoUserFo
rmsPartII.asp

--
Regards,
Tom Ogilvy



"cdb" wrote:

I currently have a macro that copies a sheet to a different workbook
dependant on who the adviser is. It currently picks the adviser name up from
a cell in a sheet, but what I would like it to do is then when the macro is
set off, some kind of input box comes up and gives the option of which
adviser name to choose (be it a dropdown menu, a tick box etc)

Anyone know how to do this?

Cheers,

cdb

  #3   Report Post  
Posted to microsoft.public.excel.programming
cdb cdb is offline
external usenet poster
 
Posts: 62
Default Using a static set of data to use as input criteria

Cheers - I'll give it a go tomorrow when my brain is re-fuelled

"Tom Ogilvy" wrote:

You would need to create a custom userform to provide a dropdown of names.


here are some references:
http://www.visualbasicforum.com/show...409#post594409


http://support.microsoft.com/?id=168067
XL97: WE1163: "Visual Basic Examples for Controlling UserForms"

Microsoft(R) Visual Basic(R) for Applications Examples for Controlling
UserForms in Microsoft Excel 97

This Application Note is an introduction to manipulating UserForms in
Microsoft Excel 97. It includes examples and Microsoft Visual Basic for
Applications macros that show you how to take advantage of the capabilities
of UserForms and use each of the ActiveX controls that are available for
UserForms

http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.



http://support.microsoft.com/default.aspx?kbid=161514
XL97: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=213749
XL2000: How to Use a UserForm for Entering Data


John Walkenbach's site:
http://j-walk.com/ss/excel/tips/userformtips.htm
Userform Tips

Peter Aiken Articles:

watch word wrap. the URL should all be one line.
Part I
http://msdn.microsoft.com/library/en...uctiontoUserFo
rmsPartI.asp
Part II
http://msdn.microsoft.com/library/en...uctiontoUserFo
rmsPartII.asp

--
Regards,
Tom Ogilvy



"cdb" wrote:

I currently have a macro that copies a sheet to a different workbook
dependant on who the adviser is. It currently picks the adviser name up from
a cell in a sheet, but what I would like it to do is then when the macro is
set off, some kind of input box comes up and gives the option of which
adviser name to choose (be it a dropdown menu, a tick box etc)

Anyone know how to do this?

Cheers,

cdb

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
How to retain part of formula's criteria as static --Viewpoint Excel Worksheet Functions 7 May 21st 10 07:53 PM
Replace static data by dynamic data without loosing all the formul Technos Excel Worksheet Functions 0 November 13th 07 10:23 PM
data validation input message locatioin has become static spence Excel Worksheet Functions 2 March 19th 06 09:34 PM
Use a static set of data for input into a macro cdb Excel Discussion (Misc queries) 2 March 16th 06 03:50 PM
have input box. Need criteria entered to refer to cond. format criteria Bob Phillips[_6_] Excel Programming 0 March 1st 04 08:17 PM


All times are GMT +1. The time now is 08:10 AM.

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

About Us

"It's about Microsoft Excel"