#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default input form

i have started to develope an input form in which the input will set the
values for running the macro.

the form only has two input line
accno. which should be the value "crtiteria1"
& 2 account name which should be the value of the name ".NAME"

the initial form to appear and run before the macro runs and to vanish
(the form ) as the macro starts

can any one suggest a way in which this can be achieved


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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default input form

Build the form with two textboxes

Have a commandbutton, and in its click event add the code

Me.Hide
myMacro Textbox1.Text, Text box2.Texy
Unload Me

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"alexanderd " wrote in message
...
i have started to develope an input form in which the input will set the
values for running the macro.

the form only has two input line
accno. which should be the value "crtiteria1"
& 2 account name which should be the value of the name ".NAME"

the initial form to appear and run before the macro runs and to vanish
(the form ) as the macro starts

can any one suggest a way in which this can be achieved


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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default input form

thank you works for m

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

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
First Input on a Form JayW Excel Worksheet Functions 0 June 13th 07 09:33 AM
input in number form is being multiplied by 1000 when i input. jweinograd Excel Discussion (Misc queries) 4 April 16th 07 11:18 PM
How can I have an input form to add a random no. to each input entry? saziz Excel Discussion (Misc queries) 2 January 25th 06 11:46 PM
input form G[_5_] Excel Programming 1 January 19th 04 07:55 PM
Input box/form acsell Excel Programming 11 October 9th 03 11:22 AM


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