Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 23
Default How do you enbed a marcos or VB in a sheet?

The subject is the question
Thanks
Mike
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,510
Default How do you enbed a marcos or VB in a sheet?

Hi Mike,

Right click on the sheet tab with the sheet name on it. Select View Code.
This opens the VBA editor where you can insert code for the specific sheet.
Normally you place event driven code here. When you first open the vba editor
before any code is placed here, at the top of the large white area you will
see 2 drop down boxes. One with the default General and the other with
default Declarations. If you click the arrow of the one with General, you can
select worksheet. You can then click the arrow of the other box and you will
get a list of all the events. Clicking on them will create a Private Sub name
and End sub for the particular event.

--
Regards,

OssieMac


"Mike Stewart" wrote:

The subject is the question
Thanks
Mike

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 189
Default How do you enbed a marcos or VB in a sheet?

Right click the sheet tap and select view code after pasting / writing the
code you can close.
To run this macro go to tools macrorun macro (Alt=F8)
you can give a name to this recorded macro for security reasons in the drop
down list (macros in) select current workbook) and click run.
--
Thanks
Suleman Peerzade


"Mike Stewart" wrote:

The subject is the question
Thanks
Mike

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 23
Default How do you enbed a marcos or VB in a sheet?

Ok thanks this helped
Thanks:
Oissemac and Suleman

Mike

"Mike Stewart" wrote:

The subject is the question
Thanks
Mike

Reply
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
Delete old Marcos cyndi Excel Discussion (Misc queries) 1 October 24th 07 10:08 PM
using marcos to copy large amounts of info mja Excel Discussion (Misc queries) 6 August 7th 06 09:40 PM
were can i find stuff on writting marcos help Excel Discussion (Misc queries) 1 February 24th 06 11:48 PM
How to convert Grid to Chart with Marcos Automatically? mindless Charts and Charting in Excel 1 August 10th 05 08:12 PM
Marcos cjloneranger Excel Worksheet Functions 1 August 9th 05 03:39 PM


All times are GMT +1. The time now is 04:51 AM.

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

About Us

"It's about Microsoft Excel"