Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Adding Custom Property

Hi,

Can anybody help me in my requiremnt.

Let my Excel workbbok contains 2 worksheets sheet1 and sheet2.
I want to add sheet specific custom property like say sheet1 contains
custom property s1 and s2, and sheet2 have custom property H1 and H2.

Is this possible??

If yes can anybody please direct me how to go ahead with this.

This is urgent.
Thanks in advance.

Regards
Robin Patra
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default Adding Custom Property

on each sheet's code page you can add a property ...
right click the sheet tab & select code page...add
properties like this example:

Property Get S1() As String
S1 = "Sheet1 S1"
End Property

In a standard module, you can test the proprety:

Sub test()
MsgBox Sheet1.S1
End Sub


Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
Hi,

Can anybody help me in my requiremnt.

Let my Excel workbbok contains 2 worksheets sheet1 and

sheet2.
I want to add sheet specific custom property like say

sheet1 contains
custom property s1 and s2, and sheet2 have custom

property H1 and H2.

Is this possible??

If yes can anybody please direct me how to go ahead with

this.

This is urgent.
Thanks in advance.

Regards
Robin Patra
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Adding Custom Property

Custom properties are a workbook property. You could use a naming convention
that pertains to a sheet, but sheers get renamed.

There is another property, worksheet names, that are at the sheet level.
Maybe you could use that.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Robin Patra" wrote in message
om...
Hi,

Can anybody help me in my requiremnt.

Let my Excel workbbok contains 2 worksheets sheet1 and sheet2.
I want to add sheet specific custom property like say sheet1 contains
custom property s1 and s2, and sheet2 have custom property H1 and H2.

Is this possible??

If yes can anybody please direct me how to go ahead with this.

This is urgent.
Thanks in advance.

Regards
Robin Patra



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
Adding custom list and text boxes to the custom tool bar from Excel C API Mousam Excel Discussion (Misc queries) 0 August 7th 07 09:19 AM
File/custom Property fields KC Excel Discussion (Misc queries) 9 July 15th 06 12:08 PM
Can you link a custom property to an Excel custom header text? LouErc Setting up and Configuration of Excel 0 November 8th 05 04:58 PM
"See" Custom Property zSplash New Users to Excel 0 May 6th 05 11:42 PM
Adding Custom OCX to Excel in Add In Ali C Excel Programming 0 November 17th 03 07:16 PM


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