Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello All,
I would like a macro I wrote (text-to-columns) to run after I input data into a particular cell. Is there a way to set up my sheet to perform the operation after I input the data. Also is there a way to defeat the message box that asks "Do you want to replace teh contents of the destination cells?" Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use the Worksheet_Change event and test for that particular cell
Right click on the sheet tab, select view code. Put in code like this: Private Sub Worksheet_Change(ByVal Target As Excel.Range) If target.count 1 then exit sub if Target.Address = "$B$1" then ' call your sub End if End Sub -- Regards, Tom Ogilvy timO wrote in message ... Hello All, I would like a macro I wrote (text-to-columns) to run after I input data into a particular cell. Is there a way to set up my sheet to perform the operation after I input the data. Also is there a way to defeat the message box that asks "Do you want to replace teh contents of the destination cells?" Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change cell contents when pull down menu choices change | Excel Worksheet Functions | |||
making copied cells change with change in original cell | Excel Worksheet Functions | |||
change background row color with change of date in a cell | Excel Discussion (Misc queries) | |||
How do I change a number in one cell to change a series of cells? | Excel Discussion (Misc queries) | |||
Change workbook sheet reference using cell A1 to change a vairable | Excel Worksheet Functions |