Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Ok...I created a macro to give me a head start with a command button. I need the VBA coding to select all the cells on a given worksheet. The macro used: Cells.Select All sources I have seen so far indicate that this should be correct, however, once the code was copied from the macro to the command button I keep getting the following error: Run-time error '1004': Select method of Range class failed. So, why on earth does it work in the macro, and not for the command button? Any ideas? Thanks, Amber :) -- Amber_D_Laws ------------------------------------------------------------------------ Amber_D_Laws's Profile: http://www.excelforum.com/member.php...o&userid=30012 View this thread: http://www.excelforum.com/showthread...hreadid=500357 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
command button isn't working | New Users to Excel | |||
How do I assign a macro I have created to a Command Button in Exc. | Excel Discussion (Misc queries) | |||
macro code doesnt work in command button | Excel Programming | |||
Disabling/enabling events with a button created by code?? | Excel Programming | |||
Non Working Cells after command button | Excel Programming |