Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Members,
Greeting to everyone. I am new to this group and this is my first posting. I have multiple sheets (about 10 - sheet names end with a number) in my workbook. Each sheet has a different number of filled in rows and columns and these sheets are subject to frequent revision. I want to assign the sheet tab names to the active cells in each sheet and I will be using these named ranges in my pivot tables. If I define the names manually (using menu Insert -- Name-- Define... ), then every time I need to change the named area for each sheet. Its taking lot of time for me. Is there any smart way of defining the names using formulas? If not, can some of you guide me on the VBA codes for this? ( I am beginner to VBA programming). Thanks in advance, Ramesh. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On 3 Aug, 07:15, wrote:
Hi Members, Greeting to everyone. I am new to this group and this is my first posting. I have multiple sheets (about 10 - sheet names end with a number) in my workbook. Each sheet has a different number of filled in rows and columns and these sheets are subject to frequent revision. I want to assign the sheet tab names to the active cells in each sheet and I will be using these named ranges in my pivot tables. If I define the names manually (using menu Insert -- Name-- Define... ), then every time I need to change the named area for each sheet. Its taking lot of time for me. Is there any smart way of defining the names using formulas? If not, can some of you guide me on the VBA codes for this? ( I am beginner to VBA programming). Thanks in advance, Ramesh. Not sure I understand all of your requirements (especially the sheet names part) but on a cursory read I think you would be greatly helped by reading about dynamic range names which is basically a "smart way of defining the names using formulas" as you state. Check out: http://www.beyondtechnology.com/geeks007.shtml http://www.ozgrid.com/Excel/DynamicRanges.htm Chrisso |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 3, 12:54 pm, Chrisso wrote:
On 3 Aug, 07:15, wrote: Hi Members, Greeting to everyone. I am new to this group and this is my first posting. I have multiple sheets (about 10 - sheet names end with a number) in my workbook. Each sheet has a different number of filled in rows and columns and these sheets are subject to frequent revision. I want to assign the sheet tab names to the active cells in each sheet and I will be using these named ranges in my pivot tables. If I define the names manually (using menu Insert -- Name-- Define... ), then every time I need to change the named area for each sheet. Its taking lot of time for me. Is there any smart way of defining the names using formulas? If not, can some of you guide me on the VBA codes for this? ( I am beginner to VBA programming). Thanks in advance, Ramesh. Not sure I understand all of your requirements (especially the sheet names part) but on a cursory read I think you would be greatly helped by reading about dynamic range names which is basically a "smart way of defining the names using formulas" as you state. Check out: http://www.beyondtechnology.com/geeks007.shtml http://www.ozgrid.com/Excel/DynamicRanges.htm Chrisso- Hide quoted text - - Show quoted text - Hi Chrisso, Thanks very much for providing those links. I liked the first one very much (visited the second one earlier as well- 1st one is more clear and elaborate). I got a solution for my requirement now. Thanks again. Cheers, Ramesh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
using the Excel generic worksheet names instead of user-given names in code | Excel Discussion (Misc queries) | |||
Another VB Code Required | Excel Discussion (Misc queries) | |||
VB Code Required | Excel Discussion (Misc queries) | |||
VB code Required-------! | Excel Programming | |||
Code required please | Excel Programming |