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 Assign macro


Hi

I am having a few problems creating a userform and a command button o
my worksheet to activate my userform. I am using excel 2003. I hav
situated the command button on the worksheet but how do I get this t
open my userform.

On the userform form I have a button which when pressed should ente
the details onto the form but it does not work. Here is my code fo
the button

private sub cmdOK_Click()

ActiveWorkbook.sheets("Tender Information"). activate

I thought this line would activate the sheet

and then I added
Range ("G2").select

End sub

this is where is want my first entry from my userform to go.

I am a novice to these features of excel and I would be very gratefu
to any replies with assistance.

Jennifer Thomso

--
jenniferThomso
-----------------------------------------------------------------------
jenniferThomson's Profile: http://www.excelforum.com/member.php...nfo&userid=456
View this thread: http://www.excelforum.com/showthread.php?threadid=46750

 
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
Assign Macro David Excel Worksheet Functions 1 October 9th 06 03:31 AM
assign a macro daidipya Excel Discussion (Misc queries) 4 May 30th 06 02:51 PM
Assign a Macro Pendelfin Excel Discussion (Misc queries) 1 January 10th 06 11:35 PM
How to assign a macro Mike Excel Discussion (Misc queries) 4 July 5th 05 06:43 AM
Un-assign a macro George Gee New Users to Excel 2 December 28th 04 05:44 PM


All times are GMT +1. The time now is 02:28 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"