Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default embedding / structured storage?

I have a report definition (list of parameters - could be
"xmlified"/serialised) that I would like to store within an excel file. Can
someone point me in the direction of some documentation on how to do this /
pros and cons.

thanks,

Rich


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default embedding / structured storage?

You could store it in a cell. Other options would be to store it as a
defined name.

Sub Demo1()
ActiveWorkbook.Names.Add Name:="ReportDef",
RefersTo:="=""xmlified/serialised"""
End Sub


Another option would be to store it as a Custom Document Property. You can
view it under <File <Properties and then the Custom tab.

Sub Demo2()
ThisWorkbook.CustomDocumentProperties.Add _
Name:="ReportDef", _
LinkToContent:=False, _
Type:=msoPropertyTypeString, _
Value:="xmlified/serialised"
End Sub


HTH
Dana DeLouis


"Richard Bond" wrote in message
...
I have a report definition (list of parameters - could be
"xmlified"/serialised) that I would like to store within an excel file.

Can
someone point me in the direction of some documentation on how to do this

/
pros and cons.

thanks,

Rich




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default embedding / structured storage?

Thanks,

I like the idea of CustomDocumentProperties, however I think I need more
than 255 characters. Is there another way?

regards,

Richard


"Dana DeLouis" wrote in message
...
You could store it in a cell. Other options would be to store it as a
defined name.

Sub Demo1()
ActiveWorkbook.Names.Add Name:="ReportDef",
RefersTo:="=""xmlified/serialised"""
End Sub


Another option would be to store it as a Custom Document Property. You

can
view it under <File <Properties and then the Custom tab.

Sub Demo2()
ThisWorkbook.CustomDocumentProperties.Add _
Name:="ReportDef", _
LinkToContent:=False, _
Type:=msoPropertyTypeString, _
Value:="xmlified/serialised"
End Sub


HTH
Dana DeLouis


"Richard Bond" wrote in message
...
I have a report definition (list of parameters - could be
"xmlified"/serialised) that I would like to store within an excel file.

Can
someone point me in the direction of some documentation on how to do

this
/
pros and cons.

thanks,

Rich






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default embedding / structured storage?

Could you break the string into smaller units and store the names like
"Report1", "Report2", etc? When you retrieve the strings, you could than
join them together. Or perhaps just a dedicated Cell.

Dana DeLouis

"Richard Bond" wrote in message
...
Thanks,

I like the idea of CustomDocumentProperties, however I think I need more
than 255 characters. Is there another way?

regards,

Richard


"Dana DeLouis" wrote in message
...
You could store it in a cell. Other options would be to store it as a
defined name.

Sub Demo1()
ActiveWorkbook.Names.Add Name:="ReportDef",
RefersTo:="=""xmlified/serialised"""
End Sub


Another option would be to store it as a Custom Document Property. You

can
view it under <File <Properties and then the Custom tab.

Sub Demo2()
ThisWorkbook.CustomDocumentProperties.Add _
Name:="ReportDef", _
LinkToContent:=False, _
Type:=msoPropertyTypeString, _
Value:="xmlified/serialised"
End Sub


HTH
Dana DeLouis


"Richard Bond" wrote in message
...
I have a report definition (list of parameters - could be
"xmlified"/serialised) that I would like to store within an excel

file.
Can
someone point me in the direction of some documentation on how to do

this
/
pros and cons.

thanks,

Rich








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
Structured references between worksheets FredZack Excel Discussion (Misc queries) 0 April 28th 10 07:15 PM
How do I create fee structured sliding scale? Lisa Greenberg Excel Discussion (Misc queries) 1 February 3rd 10 03:53 PM
Structured reference does not return correct value vsoler Excel Worksheet Functions 5 July 19th 09 05:15 PM
Structured references & Quickbooks data Coco Excel Worksheet Functions 0 March 3rd 07 03:34 AM
object or structured orientated?? paradise Excel Programming 0 November 23rd 03 03:18 AM


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