Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 19th, 2009, 11:57 AM
Registered User
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening UserForm(x) where x is a user variable

Hi all,

I don't know if I'm being too ambitious here or not.

I have a simple UserForm called Task1 that comprises check boxes and command button

The command button sends the workbook via email to the next user.

What I want to do is this. When the mail recipient opens up the workbook, the next UserForm is automatically loaded eg UserForm called Task2

This user then completes his tasks and mails it to the next user, who opens the workbook and UserForm called Task3 is automatically opened etc.

Can I control the opening of the relevent UserForm by using a variable so that UserForm(variable) is opened automatically when the new mail recipient opens the workbook?

Also how could I control the variable ie increment it before the workbook is saved?

best regards

Steve
 
Old January 20th, 2009, 03:54 AM
Registered User
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Solved

I have now worked out how to do this, thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting variable to user defined type mantle51 SQL Server 2000 3 August 10th, 2007 03:52 AM
Restricting the user from opening pages gaurav_jain2403 ASP.NET 1.0 and 1.1 Professional 1 January 19th, 2007 11:12 AM
Using icons within a userform Stubby Excel VBA 2 July 7th, 2004 08:09 AM
Store a value to a variable until user quits Acces Sharq Access VBA 7 January 7th, 2004 10:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.