Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default user form tabs

Hi - I am trying to find how to clarify what tab to show when I show the
userform. For instance, on on tab when a control is clicked a macro goes
through an iteration and the last line of code is UserForm.Show but how do I
write it so that the UserForm shows as well as a specific tab within the user
form?

Thanks in advance
Carrie

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200802/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default user form tabs


You didn't say which control you are using...MultiPage or Tab Control?
The .Value property determines which page or tab shows.
The syntax is the same...
Me.MultiPage1.Value = 0
Me.TabStrip1.Value = 1
Zero is the first page/tab with 1 the next page/tab etc.
All of the above is found in the Excel VBA help file.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Carrie_Loos via OfficeKB.com"
wrote in message
Hi - I am trying to find how to clarify what tab to show when I show the
userform. For instance, on on tab when a control is clicked a macro goes
through an iteration and the last line of code is UserForm.Show but how do I
write it so that the UserForm shows as well as a specific tab within the user
form?
Thanks in advance
Carrie

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default user form tabs

Thank you Jim and I did look in help for some time but could not find my
answer. Perhaps helps is written for those who know what nomenclature to
enter and not a generalist?

Jim Cone wrote:
You didn't say which control you are using...MultiPage or Tab Control?
The .Value property determines which page or tab shows.
The syntax is the same...
Me.MultiPage1.Value = 0
Me.TabStrip1.Value = 1
Zero is the first page/tab with 1 the next page/tab etc.
All of the above is found in the Excel VBA help file.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200802/1

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
Call user form from ThisWorkbook; close file if form closed XP Excel Programming 2 July 20th 07 07:04 PM
Automatically add a textbox to a user form based on user requireme Brite Excel Programming 4 April 7th 07 11:37 PM
User form ComboBox Items: Remember user entries? [email protected] Excel Programming 0 March 29th 07 06:41 PM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
Detecting Ctrl-Tabs in User Form input fields? Don Wiss Excel Programming 1 February 23rd 05 01:17 AM


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