Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default VBA questions

1. Could somebody explain what the difference is between adding code to
modules, this workbook or specific sheets.

2. I need to enter a code that automatically renames the sheet according to
the content of a specific cell. This applies to all the sheets. Should I then
enter the code for each sheet or can I simply add it to the workbook (The
same cell (B3) is used for every sheet

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 292
Default VBA questions

1. This has to do with where the code is called from, what the code does to
what, the developer's style and sense of order, but main consideration is
where the relevant events are located. See
http://www.cpearson.com/excel/events.htm

2. It's probably most useful in a workbook event. "Automatically" means that
the sheets are renamed when exactly what happens ?
(You will find clues to this on the Events page)

HTH. best wishes Harald

"Adam" skrev i melding
...
1. Could somebody explain what the difference is between adding code to
modules, this workbook or specific sheets.

2. I need to enter a code that automatically renames the sheet according

to
the content of a specific cell. This applies to all the sheets. Should I

then
enter the code for each sheet or can I simply add it to the workbook (The
same cell (B3) is used for every sheet

Thanks



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
Answers to questions posing more questions in a workbook sbelle1 Excel Worksheet Functions 2 August 8th 09 01:02 AM
2 Questions Richard Excel Discussion (Misc queries) 3 July 18th 09 06:12 AM
I need help with 2 Questions Aussiegirlone Excel Discussion (Misc queries) 8 July 16th 09 01:08 PM
View Questions and Answer to questions I created Roibn Taylor Excel Discussion (Misc queries) 4 July 24th 08 12:05 AM
IF questions andiparsons29 Excel Discussion (Misc queries) 3 April 30th 07 06:32 PM


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