Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Hiding the sheets my macro works with...
I've got code that opens up sheet2 and searches for specific cells. When that happens you can briefly see it open up sheet2... Granted it's very fast, I'd rather have it stay on Sheet1 and just do the work in the background. Here's my code, how can I do this?
Pick = ComboBox1.Value Sheet2.Select Sheet2.Range("B1").Select Sheet1.Select While ActiveCell.Value < Pick Sheet2.Select Sheet2.Cells(ActiveCell.Row + 1, 2).Select ' TODO: Move the cursor over to the LEFT once Wend Sheet2.Cells(ActiveCell.Row, 1).Select Pick2 = ActiveCell.Value Sheet1.Select Sheet1.Range("G5").Select ActiveCell.Value = Pick2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
function works on some sheets but not others | Excel Worksheet Functions | |||
Hiding and Showing Sheets using Macro | Excel Discussion (Misc queries) | |||
hiding zero values on all sheets & by default on new sheets | Excel Worksheet Functions | |||
Locking Sheets / Hiding Sheets | Excel Worksheet Functions | |||
Hiding sheets with macro disabled - with a big twist! | Excel Programming |