Long Formula's displayed in VB on Screen

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Easy One....but how do you break up a formula in VB so that you can see it on
the screen without having to scroll right?
 
I assume you mean something like this?

TotWt = [WPF01] + [WPF02] + [WPF03] + [WPF04] + [WPF05] + [WPF06] + [WPF07]
+ [WPF08] + [WPF09] + join_
[WPF10] [WPF11] + [WPF12] + [WPF13] + [WPF14] + [WPF15] + [WPF16] +
[WPF17] + [WPF18] + [WPF19] + [WPF20] + join_
[WPF21] [WPF22] + [WPF23] + [WPF24]
--
Heiko K Stugg


David F Cox said:
use _
to _
join _
lines
 
Yes but you need a space at the end between your code and the _

James
I assume you mean something like this?

TotWt = [WPF01] + [WPF02] + [WPF03] + [WPF04] + [WPF05] + [WPF06] + [WPF07]
+ [WPF08] + [WPF09] + join_
[WPF10] [WPF11] + [WPF12] + [WPF13] + [WPF14] + [WPF15] + [WPF16] +
[WPF17] + [WPF18] + [WPF19] + [WPF20] + join_
[WPF21] [WPF22] + [WPF23] + [WPF24]
 
Works well!!!

Thanks
--
Heiko K Stugg


James said:
Yes but you need a space at the end between your code and the _

James
I assume you mean something like this?

TotWt = [WPF01] + [WPF02] + [WPF03] + [WPF04] + [WPF05] + [WPF06] + [WPF07]
+ [WPF08] + [WPF09] + join_
[WPF10] [WPF11] + [WPF12] + [WPF13] + [WPF14] + [WPF15] + [WPF16] +
[WPF17] + [WPF18] + [WPF19] + [WPF20] + join_
[WPF21] [WPF22] + [WPF23] + [WPF24]
--
Heiko K Stugg


David F Cox said:
use _
to _
join _
lines

Easy One....but how do you break up a formula in VB so that you can see it
on
the screen without having to scroll right?
 
Note there is a limit (24) to the number of line continuation characters you
can use in one statement.

--

Terry Kreft


Heiko K Stugg said:
Works well!!!

Thanks
--
Heiko K Stugg


James said:
Yes but you need a space at the end between your code and the _

James
I assume you mean something like this?

TotWt = [WPF01] + [WPF02] + [WPF03] + [WPF04] + [WPF05] + [WPF06] + [WPF07]
+ [WPF08] + [WPF09] + join_
[WPF10] [WPF11] + [WPF12] + [WPF13] + [WPF14] + [WPF15] + [WPF16] +
[WPF17] + [WPF18] + [WPF19] + [WPF20] + join_
[WPF21] [WPF22] + [WPF23] + [WPF24]
--
Heiko K Stugg


:

use _
to _
join _
lines

Easy One....but how do you break up a formula in VB so that you can see it
on
the screen without having to scroll right?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows XP VB Script- Full Screen 0
Put Formula in VBA 1
saving on screen data to comma delimetted text file 0
Help needed 0
Display drivers 3
Screen Flickering 22
Excel Dragging countif formula with changing criteria 3
Windows 7 Scroll lists jumping to top 9

Back
Top