Spreadsheet focus/interaction whilst VBA form is active

carcharoth2554

New Member
Joined
Feb 5, 2013
Messages
30
Hi All,

Excel 2010 Win 64

I have wookbook with multiple worksheets within that all contain large grids of data that flow over the size of the window. I have made some code that selects a cell based on user input into a form and drops new data into it. I was wondering if there was any code that will pan the worksheet to look at that cell when the user makes a selection? This led me to question if there was a way to unlock the spreadsheet when a vba form is open so that you can at a minimum navigate the current worksheet. Unfortunately this is quite hard to search up on google.

Again, any input is appreciated.

Thanks!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi

When you display a userform (using Show) you need to show it modelessly:

Code:
UserForm1.Show vbModeless
 
Upvote 0

Forum statistics

Threads
1,216,174
Messages
6,129,297
Members
449,499
Latest member
HockeyBoi

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