LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help required to run simple macro...


Hello all.

I am a complete beginner to VB code.

I have created a command button in a worksheet..and have recorded a
macro by the name of mcrCostAccounting.
Basically I want the user to click the command button and then for the
macro to run...
so the user should click on the button and then the user will end up in
another worksheet (this is what the macro basically does!)

how do i do this?

heres my attempt..

Private SubCommandButton1_Click()
GoTo mcrCostAccounting
End Sub



Thanks in advance!!


--
londonchick
------------------------------------------------------------------------
londonchick's Profile: http://www.excelforum.com/member.php...o&userid=24529
View this thread: http://www.excelforum.com/showthread...hreadid=381235

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MACRO REQUIRED ZEESHAN Excel Discussion (Misc queries) 1 August 21st 09 01:28 PM
Simple Count formula required mike_vr Excel Discussion (Misc queries) 2 January 23rd 06 03:30 PM
simple validation formula required archeti Excel Discussion (Misc queries) 13 October 27th 05 10:04 AM
Pilgrim needs help: Effecting keystroks required by a macro nested within a macro. [email protected] Excel Programming 1 May 14th 05 03:46 AM
Simple Code Required gregork Excel Programming 12 January 29th 04 09:13 AM


All times are GMT +1. The time now is 10:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"