Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear friends,
I have below event code in my worksheet which works perfectly but causes 2 known problems, i.e., 1- "Find and Replace" dialog box loses focus once I do find search in the worksheet. 2- When I delete a row in the worksheet, the code takes me to the end/debug dialog box and on clicking end on this dialog box, selects the textbox I have placed in my worksheet. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Application.ScreenUpdating = False If Not rngLast Is Nothing Then ActiveSheet.Shapes("TextBox").Select Selection.Characters.Text = rngLast(1, 6).Value End If Set rngLast = Target rngLast.Select Application.ScreenUpdating = True Shapes("TextBox").SetShapesDefaultProperties End Sub I am using win xp sp3 and office 2007. I have limited knowledge about vba and need your kind help. TIA Shahbaz |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find/Replace in VBE takes focus off window Excel 2003 | Excel Programming | |||
FIND AND REPLACE DIALOG BOX | Excel Discussion (Misc queries) | |||
Excel Find/Replace Dialog Box | Excel Discussion (Misc queries) | |||
Replace dialog should put focus on "Find What" not "Replace With" | Excel Discussion (Misc queries) | |||
Pulling up the Find and Replace Dialog via Code | Excel Programming |