Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default UserForm for each Worksheet


What I'm after is a template which opens up a userform and the use
inputs a bunch of variables to populate the worksheet. One of thes
variables is
"This is _x_ in a series of _y_ forms"

basically, we want this form to generate y number of copies of itselt.
The catch is, each time it opens itself, we are getting a whole new se
of variables. Also, we want this to run from a single template.

Check this code out:

If MainForm.txtY MainForm.txtX Then

MainForm.txtX.Value = MainForm.txtX.Value + 1

Documents.Add Template:= _
"C:\Documents and Settings\Garrett\Desktop\Work Orde
Template.dot", _
NewTemplate:=False, DocumentType:=0

Documents(1).Activate

Call generateDoc
End If


Ok well you caught me... it's a word document, but the same principle
apply.
Can someone point me in the right direction please?

Thanks in advance

--
prepotenc
-----------------------------------------------------------------------
prepotency's Profile: http://www.excelforum.com/member.php...fo&userid=2415
View this thread: http://www.excelforum.com/showthread.php?threadid=39537

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
Worksheet update from UserForm Patrick Simonds Excel Programming 1 December 27th 04 01:42 AM
How do I Open A UserForm in a Worksheet Pete Woodhead Excel Programming 4 October 31st 04 10:10 PM
Data from userform to worksheet koala[_15_] Excel Programming 0 October 9th 04 08:34 AM
Data from userform to worksheet koala[_13_] Excel Programming 0 October 9th 04 01:20 AM
autorun userform from worksheet paradise Excel Programming 1 October 30th 03 08:38 AM


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