Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi - thanks for your reply. I found some help via a link and have made this
work. My next problem is that I have tried to put a command button the page where the data entry occurs to run the macro but it comes up with a message saying Object Required. I don't understand it! When I run my macro, it is called Sheet1.RemoveThem . My programming is as follows - any ideas?? Private Sub CommandButton1_Click() On Error GoTo Err_Command1_Click Dim stMacroName As String stMacroName = "Sheet1.Removethem" DoCmd.RunMacro stMacroName Exit_Command1_Click: Exit Sub Err_Command1_Click: MsgBox Err.Description Resume Exit_Command1_Click End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy rows from one Data sheet to another sheet based on cell conte | Excel Discussion (Misc queries) | |||
macro to find data from one sheet & copy in another sheet | Excel Programming | |||
copy data of two cells from Sheet 2 into one cell in Sheet 1 | Excel Worksheet Functions | |||
How can i copy data from a tabbed working sheet to a summary sheet | Excel Discussion (Misc queries) | |||
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 | Excel Worksheet Functions |