Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default What's wrong?

Can someone please tell me what's wrong with this code?

Workbooks(v).Sheets(a).Cells(5, 5) = "=" & Workbooks(y).Sheets(a).Cells(39,
4) & "+" & Workbooks(y).Sheets(a).Cells(40, 4)

TIA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default What's wrong?

Nothing in itself. What is in the 2 cells, and what happens for you?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Newbie" wrote in message
...
Can someone please tell me what's wrong with this code?

Workbooks(v).Sheets(a).Cells(5, 5) = "=" &

Workbooks(y).Sheets(a).Cells(39,
4) & "+" & Workbooks(y).Sheets(a).Cells(40, 4)

TIA



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default What's wrong?

It depends on the rest of the code.
maybe

"v.xls"
"a"
cells(5,5).value

--
Don Guillett
SalesAid Software

"Newbie" wrote in message
...
Can someone please tell me what's wrong with this code?

Workbooks(v).Sheets(a).Cells(5, 5) = "=" &

Workbooks(y).Sheets(a).Cells(39,
4) & "+" & Workbooks(y).Sheets(a).Cells(40, 4)

TIA



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
What's wrong in this Eqn? Raz Excel Worksheet Functions 1 January 12th 10 07:27 PM
Insert Calculated Field (wrong Qty*Price = wrong Amount) Edmund Excel Discussion (Misc queries) 8 October 4th 07 12:13 PM
What Am I Doing Wrong comparini3000 Excel Discussion (Misc queries) 1 June 12th 06 05:51 PM
What's Wrong? Pam Excel Programming 2 September 24th 04 07:10 PM
What do i wrong here kkknie[_182_] Excel Programming 0 August 11th 04 08:41 PM


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