Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default having the same name for a lst, on multiple sheets

Is it possible to have the same name for my database list on multiple
sheets.

Could someone show me the correct syntax to do that through VBA please.

Say the name I want to add is "Database" and I want to add it on a sheet
named "Retail" and a sheet named "Hotel"

Thanks, Eric


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default having the same name for a lst, on multiple sheets

Worksheets("Retail").Range("A1").Name = "Retail!Database"

or:

ActiveSheet.Range("A1").Name = ActiveSheet.Name & '!Database"

etc.

--

Vasant


"Eric" wrote in message
nk.net...
Is it possible to have the same name for my database list on multiple
sheets.

Could someone show me the correct syntax to do that through VBA please.

Say the name I want to add is "Database" and I want to add it on a sheet
named "Retail" and a sheet named "Hotel"

Thanks, Eric




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
How to update data from multiple sheets to one specific sheets Khawajaanwar Excel Discussion (Misc queries) 4 January 15th 10 07:31 AM
SUMPRODUCT, SUMIF, COUNTIF for multiple sheets for multiple criter Greg in CO[_2_] Excel Worksheet Functions 0 September 18th 08 05:51 PM
Automated multiple text files into multiple sheets in one workbook Dr Dan Excel Discussion (Misc queries) 14 November 4th 07 11:32 AM
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA Amaxwell Excel Worksheet Functions 4 August 17th 06 06:23 AM
Changing the value in multiple sheets without selecting those sheets herm Excel Programming 3 October 14th 03 03:50 PM


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