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


Hi all,

I have been trying and trying but I can not get this to work
:

somerange.Formula = "=IF('C03.01 Process
quotations'!$E$6="""";"""";'C03.01 Process quotations'!$E$6)"

So if the source is blank, leave blank otherwise put value in there.
First I had only:

somerange.Formula = "='C03.01 Process quotations'!$E$6"

which works, but leaves zeros when source is has a blank value.

Thanks


--
ABEone
------------------------------------------------------------------------
ABEone's Profile: http://www.excelforum.com/member.php...o&userid=30715
View this thread: http://www.excelforum.com/showthread...hreadid=503826

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Formula problems!!

VBA is USA centric.

Try changing your semicolons to commas.



ABEone wrote:

Hi all,

I have been trying and trying but I can not get this to work
:

somerange.Formula = "=IF('C03.01 Process
quotations'!$E$6="""";"""";'C03.01 Process quotations'!$E$6)"

So if the source is blank, leave blank otherwise put value in there.
First I had only:

somerange.Formula = "='C03.01 Process quotations'!$E$6"

which works, but leaves zeros when source is has a blank value.

Thanks

--
ABEone
------------------------------------------------------------------------
ABEone's Profile: http://www.excelforum.com/member.php...o&userid=30715
View this thread: http://www.excelforum.com/showthread...hreadid=503826


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Formula problems!!

It works for me, what do you get?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"ABEone" wrote in
message ...

Hi all,

I have been trying and trying but I can not get this to work
:

somerange.Formula = "=IF('C03.01 Process
quotations'!$E$6="""";"""";'C03.01 Process quotations'!$E$6)"

So if the source is blank, leave blank otherwise put value in there.
First I had only:

somerange.Formula = "='C03.01 Process quotations'!$E$6"

which works, but leaves zeros when source is has a blank value.

Thanks


--
ABEone
------------------------------------------------------------------------
ABEone's Profile:

http://www.excelforum.com/member.php...o&userid=30715
View this thread: http://www.excelforum.com/showthread...hreadid=503826



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula problems!!


Dave Peterson Wrote:
VBA is USA centric.

Try changing your semicolons to commas.



Dave Peterson


Your are my hero today!!! I have had the same issues with Access, but
there I do do everything in VBA with comma's. Thanks a lot!:)


--
ABEone
------------------------------------------------------------------------
ABEone's Profile: http://www.excelforum.com/member.php...o&userid=30715
View this thread: http://www.excelforum.com/showthread...hreadid=503826

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
aauugghhh...#div/o problems & various average formula problems acbel40 Excel Worksheet Functions 5 October 19th 09 05:00 PM
If formula problems Canon Excel Discussion (Misc queries) 4 May 6th 09 03:42 PM
More formula problems LoveExcelButFrustrated Excel Discussion (Misc queries) 7 June 13th 08 04:11 PM
formula problems LoveExcelButFrustrated Excel Discussion (Misc queries) 4 June 11th 08 08:51 PM
Problems with a formula Mike[_2_] Excel Worksheet Functions 3 April 24th 08 03:52 PM


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