Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Formatting problem

Hi
I'm using VFP to create excel file.
loExcelSession.Cells(lnRow,lnCol).VALUE = lcData
Before setting the value I format the column according to the data format,
but when entering dates in to the column it displays with green color
hyphen. what is the reason for this


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Formatting problem

I would surmise that conditional formatting is applied or you have an
event-driven macro firing. To test for conditional formatting, click on a
cell that turns green, click Format Conditional Formatting, and see if 1,
2, or 3 conditions are listed there. To see if event-driven code is the
culprit, right-click on the worksheet tab and click 'View Code'. What you do
after that is completely up to you (the worksheet must have been set up that
way for some reason or another...)

Regards,
Ryan---

--
RyGuy


"Lincoln Burrows" wrote:

Hi
I'm using VFP to create excel file.
loExcelSession.Cells(lnRow,lnCol).VALUE = lcData
Before setting the value I format the column according to the data format,
but when entering dates in to the column it displays with green color
hyphen. what is the reason for this



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
Formatting problem tadly Excel Worksheet Functions 4 October 9th 08 11:33 AM
Formatting problem Stav19 Excel Programming 5 September 28th 08 07:06 PM
Formatting problem? TwoDot Excel Discussion (Misc queries) 1 November 1st 07 01:27 PM
Formatting problem Henry Excel Discussion (Misc queries) 11 June 25th 05 01:20 AM
formatting problem Orion[_2_] Excel Programming 2 October 14th 04 11:26 AM


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