Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Document variable in Excel

hi,
In word object model there is Document.variables. Is there somthing
corresponding in Excel? If not can anybody tell me an alternative approch?

Regards,
Abhilash


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Document variable in Excel

There is nothing directly corresponding in Excel, but there is an
alternative: create a worksheet - hide it if you wish - and store any
"variables" in there as cell values. You should be able to accomplish the
same thing this way.
--
- K Dales


"news.microsoft.com" wrote:

hi,
In word object model there is Document.variables. Is there somthing
corresponding in Excel? If not can anybody tell me an alternative approch?

Regards,
Abhilash



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Document variable in Excel

i think Name object corresponds. as variable that belongs to a document.
Name object has a formula that returns a number, text, cell reference,
array, etc.
for instance, we can use a defined name(e.g. 'Customer')
instead of cell address(e.g. 'B2') in a formula put into a cell.

Variable Object -- Word 2003 VBA Language Reference
http://msdn.microsoft.com/library/en...HV05214028.asp

Name Object [Excel 2003 VBA Language Reference]
http://msdn.microsoft.com/library/en...HV05203124.asp

--
HTH

okaizawa


news.microsoft.com wrote:
hi,
In word object model there is Document.variables. Is there somthing
corresponding in Excel? If not can anybody tell me an alternative approch?

Regards,
Abhilash


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Document variable in Excel

Thank you both i am going in favour of names instead of hide a worksheet.

Regards,
Abhilash


"okaizawa" wrote in message
...
i think Name object corresponds. as variable that belongs to a document.
Name object has a formula that returns a number, text, cell reference,
array, etc.
for instance, we can use a defined name(e.g. 'Customer')
instead of cell address(e.g. 'B2') in a formula put into a cell.

Variable Object -- Word 2003 VBA Language Reference
http://msdn.microsoft.com/library/en...HV05214028.asp

Name Object [Excel 2003 VBA Language Reference]
http://msdn.microsoft.com/library/en...HV05203124.asp

--
HTH

okaizawa


news.microsoft.com wrote:
hi,
In word object model there is Document.variables. Is there somthing
corresponding in Excel? If not can anybody tell me an alternative
approch?

Regards,
Abhilash




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 create a formatted 'readable' document based on Excel document? [email protected] Excel Discussion (Misc queries) 0 June 23rd 06 06:09 PM
how do I import variable data into a word document GaryPick Excel Discussion (Misc queries) 1 March 30th 06 03:49 PM
Variable IMAGE in document header hhalle Excel Discussion (Misc queries) 0 December 7th 05 10:14 PM
Move sheet to another document with variable name gmunro Excel Programming 1 January 27th 05 10:01 PM
Assign a variable to a word document Anson[_2_] Excel Programming 1 January 6th 05 08:45 PM


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