What to add to my Code???

advent

New Member
Joined
Jun 20, 2011
Messages
25
Can anyone please help?
With the help of Phil’s Genius I now have a fully working user form that is activated by pressing a control button on 'sheet 1' the active sheet of my workbook. After making given selections within the user form a ‘create form’ control button is selected and the information magically appears in my template on ‘sheet 3’ and the user form disappears, thanks to the ‘hide’ command within the programme code! But, and this is my problem, the sheet view stays on sheet 1 and ideally, I need a small string of code to fit in after telling the form to hide which basically says ‘now show sheet 3’ as the active sheet!
Any ideas my friends??? Many Thanks:rolleyes:
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Code:
Sheets("Sheet3").Activate
or:-
Code:
Sheets(3).Activate
(It's not clear whether you're referring to your sheet by name or number.)
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top