Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default FormulaR1C1 - 16/02/1871

Hi

I'm trying to assign the above date to FormulaR1C1 and it's throwing an
error. Later dates are fine. What's the best way to handle this scenario?

Thanks

Simon



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default FormulaR1C1 - 16/02/1871

This worked:

Sub junkthis()
Worksheets("Sheet1").Range("B1").FormulaR1C1 = "16/02/1871"
End Sub

BUt notice the "date" is in quotes. Remember that Excel can not handle true
dates prior to 1 January 1900.
--
Gary's Student


"Simon Woods" wrote:

Hi

I'm trying to assign the above date to FormulaR1C1 and it's throwing an
error. Later dates are fine. What's the best way to handle this scenario?

Thanks

Simon




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
Formular1c1 Steph[_3_] Excel Programming 2 June 30th 05 09:12 PM
FormulaR1C1 Aksel Børve Excel Programming 2 February 28th 05 09:52 PM
FormulaR1C1 D.S.[_3_] Excel Programming 2 January 2nd 04 12:03 AM
FormulaR1C1 D.S.[_3_] Excel Programming 0 January 1st 04 09:12 PM
FormulaR1C1 aapp81[_22_] Excel Programming 3 December 3rd 03 10:47 PM


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