Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Automatic Worksheet Calculation when Worksheet Name Changes

All,

I have some VB functions that are called on one Worksheet. The functions
reference the Worksheet's name. The Worksheet starts as a "prototype".

I copy, then change the name of the "prototype".

Once renamed, I want the functions to recalculate automatically.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Automatic Worksheet Calculation when Worksheet Name Changes

If you are calling the function from a cell, instead of using

Worksheets("prototype")

use

Application.Caller.Parent


If you are using the Function in VBA, then perhaps, use

ActiveSheet

instead.

HTH,
Bernie
MS Excel MVP


"Sabre472" wrote in message
...
All,

I have some VB functions that are called on one Worksheet. The functions
reference the Worksheet's name. The Worksheet starts as a "prototype".

I copy, then change the name of the "prototype".

Once renamed, I want the functions to recalculate automatically.



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
Automatic updating from one worksheet to another... artemis1027 Excel Discussion (Misc queries) 0 January 22nd 07 05:27 PM
Automatic worksheet name from cell on that worksheet (A2) Rob Excel Discussion (Misc queries) 1 October 18th 06 09:05 PM
Automatic updating of a rollup worksheet when a new worksheet is a Marc A. Excel Worksheet Functions 1 August 7th 06 07:49 PM
Automatic Calculation on only one Worksheet sfrancoe2 Excel Discussion (Misc queries) 5 December 3rd 05 09:03 PM
Automatic copy a worksheet, bioyyy Excel Discussion (Misc queries) 10 October 16th 05 10:40 PM


All times are GMT +1. The time now is 12:58 PM.

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"