ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   make code less lines (https://www.excelbanter.com/excel-programming/424221-make-code-less-lines.html)

Brettjg

make code less lines
 
I wonder if i can reduce these three lines to one. I know I can't use a comma
or a semi-colon. I have many repititions of these three lines and it would be
nice to save some space. Regards, Brett

O_fore = 56
O_back = 60
O_grad = 3

JBeaucaire[_90_]

make code less lines
 
Use a chart format:
--A----B----C----D--
1 ----fore--back--grad
2 O---56---60----3
3 P---44---55----4
4

etc...

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Brettjg" wrote:

I wonder if i can reduce these three lines to one. I know I can't use a comma
or a semi-colon. I have many repititions of these three lines and it would be
nice to save some space. Regards, Brett

O_fore = 56
O_back = 60
O_grad = 3


Brettjg

make code less lines
 
Thanks, I'll see if I can nut that out.

"Brettjg" wrote:

I wonder if i can reduce these three lines to one. I know I can't use a comma
or a semi-colon. I have many repititions of these three lines and it would be
nice to save some space. Regards, Brett

O_fore = 56
O_back = 60
O_grad = 3


Jim Cone[_2_]

make code less lines
 
O_fore = 56: O_back = 60: O_grad = 3
--
Jim Cone
Portland, Oregon USA



"Brettjg"
wrote in message
I wonder if i can reduce these three lines to one. I know I can't use a comma
or a semi-colon. I have many repititions of these three lines and it would be
nice to save some space. Regards, Brett

O_fore = 56
O_back = 60
O_grad = 3

Brettjg

make code less lines
 
You beauty Jim, that's perzactly what I needed to know. Thanks & regards, Brett

"Jim Cone" wrote:

O_fore = 56: O_back = 60: O_grad = 3
--
Jim Cone
Portland, Oregon USA



"Brettjg"
wrote in message
I wonder if i can reduce these three lines to one. I know I can't use a comma
or a semi-colon. I have many repititions of these three lines and it would be
nice to save some space. Regards, Brett

O_fore = 56
O_back = 60
O_grad = 3



All times are GMT +1. The time now is 07:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com