Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default GeFormat function in Office 97

Can anyone confirm whether this function will operate
under Office 97 - i have a workbook that stalls if run on
O97 - no error message - but runs on a colleagues O2000.
This function is used during the phase in question...

Function GetFormat(Cell As Range) As String
GetFormat = Cell.NumberFormat
End Function

many thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default GeFormat function in Office 97

It worked for me in Excel 97.

--
Regards,
Tom Ogilvy

"Mike" wrote in message
...
Can anyone confirm whether this function will operate
under Office 97 - i have a workbook that stalls if run on
O97 - no error message - but runs on a colleagues O2000.
This function is used during the phase in question...

Function GetFormat(Cell As Range) As String
GetFormat = Cell.NumberFormat
End Function

many thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default GeFormat function in Office 97


are you sure the cell is:
a single cell
or a merged cell
or a range of cells with exactly the same numberformats?

to solve try: cell(1).numberformat

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Mike wrote :

Can anyone confirm whether this function will operate
under Office 97 - i have a workbook that stalls if run on
O97 - no error message - but runs on a colleagues O2000.
This function is used during the phase in question...

Function GetFormat(Cell As Range) As String
GetFormat = Cell.NumberFormat
End Function

many thanks.


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
Is spellnumber function no more available in MS office 2007? LynnLim Excel Discussion (Misc queries) 2 January 7th 10 06:24 AM
INDIRECT function in Office 2007 E[_2_] Excel Worksheet Functions 9 January 13th 09 11:05 PM
Help...Office Excel 2003 IF Function Arsno1 Excel Worksheet Functions 1 June 12th 08 09:49 PM
function wizard on office 2003 mikeallen77 Excel Worksheet Functions 1 August 15th 07 04:10 AM
TIR.NO.PER function, where do i found it in Office 2003??? Iliana Marroquin Excel Worksheet Functions 2 November 15th 04 04:52 PM


All times are GMT +1. The time now is 03:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"