Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 234
Default Formula on two or more lines

Hi,

I am using a mcro to place a formula into a cell and whilst the example
below isn't too long, I would like to have this over a couple of lines. I
have tried placing a space and an underscore in the formula as a line break
but the formula errors.

Do formulas need to be on a single line?

..Formula = _
"=TRIM(MID(VLOOKUP(""H0""&LEFT(A1,3),'[" & IName &
"]Sites'!Data,2,False),9,50))"

Thanks, Rob


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
Help with a formula (Multiple lines to sum and return if) Jim Excel Discussion (Misc queries) 2 December 17th 09 06:46 PM
copy formula down 1000,s of lines gfj Excel Worksheet Functions 2 November 5th 08 08:40 PM
Formula to differentiate between product lines bchappell Excel Discussion (Misc queries) 13 May 2nd 08 03:17 PM
Sub to copy only result lines within formula range, omit null string lines Max Excel Programming 2 July 15th 07 04:21 AM
Formula: Add rows/lines to destination in Hyperlink nastech Excel Discussion (Misc queries) 1 June 10th 06 11:00 PM


All times are GMT +1. The time now is 05:58 AM.

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"