[TriLUG] openoffice question

Ryan Leathers ryan.leathers at globalknowledge.com
Tue Jan 3 09:53:39 EST 2006


Mark,

I've learned a couple of tricks, but none are as elegantly simple as the
excel alternative.

One method, suggested by Anthony Chilco from openoffice.org forumns is: 

Before entering any numbers, select the column and format the cells
(format / cells)
Choose 'user defined' and enter the first three octets of the IP address
in a string as below:
"192.168.0."#
Enter '1' in the first cell and '2' in the second.
Select both cells and drag the handle down

Another method suggested by David Chapman is:

In cell A1 - enter  =concatenate("192.168.0.";row())
Drag down...

...and the suggestion by Jon Carnes, just moments ago, led me to my preferred method.  
I'm using a leading <space> in place of the " Jon noted.  This lets me drag the auto-gen just like excel.

As it happens, I'm using calc to keep track of my burgeoning list of Pix statics.
In this instance, the leading space is actually beneficial in copy and paste operation. 

Ryan 

On Mon, 2006-01-02 at 16:00 -0500, Mark Freeze wrote:
> Ryan,
> Did you ever solve this problem?  I tried  the old excel trick of 'giving it
> a hint' by entering 10.0.0.1 in the first cell and then 10.0.0.2 in the
> second and then trying to drag it, but that only copied the first cell as
> text and repeated it.
> 
> I'd be interested inn the solution if you find it.
> 
> Thanks,
> Mark.
> 
> 
> On 1/2/06, Jason Faulkner <jasonlf at gmail.com> wrote:
> >
> > No idea. Try posting it to users at openoffice.org.
> >
> > --Jay
> >
> > On 1/2/06, Ryan Leathers <ryan.leathers at globalknowledge.com> wrote:
> > > Any openoffice whiz-kids able to 'splain this to me?
> > >
> > > I have used excel in years past to create a quick list of sequential IP
> > > addresses by typing the first and then dragging that cell to generate
> > > the next 254.
> > >
> > > In openoffice, this same procedure increments the value of the first
> > > octet rather than the fourth.
> > >
> > > Do I need to create some custom formatting somewhere to recognize and
> > > treat IP addresses in a useful way?  Surely I'm not the first person to
> > > encounter this with openoffice.
> > >
> > > --
> > > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > >
> >
> >
> > --
> > Jason Faulkner
> > ------------------------
> > OldOs.org Owner/Admin //
> > OpenDocument Fellowship Sysadmin
> >
> > --
> > TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
> >




More information about the TriLUG mailing list