LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default passing value with button to macros

much better!

it works real well...it's actually the way I wanted to do it in the
first place..just didn't know how to go about it..
thanks!


I now have a form where the user can select from a list of months and
then a button to generate some results based on this..

basically I'm generating worksheets for many people (let's say 20) for
the given month.

How hard would it be to be able to exclude certain people?
in other words I could have a menu where I sould select as many people
as I want. for example if I want to generate the workbooks for 3
people (not all 20) for any given month. I would click on their names
and the month I want and run my macros...

on the macro side I already have the code that handles each person
individualy.. I would just need to be able to pass the name of the
chosen persons (from the list in my form)

what would be the correct syntax for this?

thanks

PAbs


---
Message posted from http://www.ExcelForum.com/

 
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
macros button Norm Excel Discussion (Misc queries) 3 May 1st 10 09:11 PM
Macros to Button Premal Excel Discussion (Misc queries) 2 April 15th 10 12:45 PM
Check Box and Button Macros SweetTea023 New Users to Excel 1 June 18th 09 08:36 PM
Two Macros under One command button Rony Excel Discussion (Misc queries) 1 March 11th 06 12:11 PM
1 button for 2 macros lunker55 Excel Discussion (Misc queries) 5 June 20th 05 06:25 PM


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