Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 03-29-2017, 06:53 PM
Logit Logit is offline Data Input Form question Windows 10 Data Input Form question Office 2007
Expert
 
Join Date: Jan 2017
Posts: 591
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Code:
Sub OpenHarvestForm()  			'<-- sub name
 
 Application.WindowState = xlMinimized  '<-- minimzes the entire excel workbook
 frmHarvest.Show                        '<-- makes userform visible
 Application.WindowState = xlMaximized  '<-- makes  excel workbook full sized

 ActiveWorkbook.Sheets("GrpRecords").Activate  
 '^^^^ "Activate" prepares sheet GrpRecords for receiving actions such as writing data to it
 
End Sub
What you need to do is right click the sheet tab / view code.

When the VBA editor window opens you want to right click on the icon FORM (see arrow)
Then View Code.

https://www.amazon.com/clouddrive/sh...hare_link_copy


The code displayed in the large window changes how the various controls on the form function.

If you just view the form itself (so it shows in the right hand window) you can edit the controls, labels and positioning of each.
Reply With Quote
 

Tags
input boxes

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically copy/paste a form field onto new pages, with user input included Pindar Word VBA 3 01-13-2017 11:49 AM
Data Input Form question How to set font size in text-input field of protected form UnicornVestibule Word 5 06-06-2016 10:51 PM
My First Attempt at Form Creation: Input of Text via Check Box or Radio Button tatihulot Excel 0 08-15-2013 06:11 AM
Data Input Form question Word only writes top half of input in form Chippychap Word 8 07-20-2012 12:49 AM
Data Input Form question Data input in Powerpoint? DeeDubb PowerPoint 1 04-05-2012 01:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft