OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[b]HELP. URGENT![/b] HOW TO COPY CELL RANGE.................

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
topher
General User
General User


Joined: 29 Sep 2004
Posts: 12

PostPosted: Fri Oct 01, 2004 10:25 pm    Post subject: [b]HELP. URGENT![/b] HOW TO COPY CELL RANGE................. Reply with quote

Can anyone give me a sample code on how to copy cell range from one sheet to another but getting only the string component (avoiding the formula)?



T.Y.
Back to top
View user's profile Send private message
r_vinoya
Super User
Super User


Joined: 03 Dec 2003
Posts: 619
Location: Somewhere in the Philippines

PostPosted: Mon Oct 04, 2004 6:45 pm    Post subject: Re: [b]HELP. URGENT![/b] HOW TO COPY CELL RANGE............. Reply with quote

topher wrote:
Can anyone give me a sample code on how to copy cell range from one sheet to another but getting only the string component (avoiding the formula)?



T.Y.


Try recording a macro: copy then paste to next sheet using Paste Special (check only strings and values).
_________________
# : - )
Back to top
View user's profile Send private message
wahur
Power User
Power User


Joined: 22 Sep 2004
Posts: 62
Location: Tallinn, Estonia

PostPosted: Wed Oct 06, 2004 5:00 am    Post subject: Reply with quote

http://www.pitonyak.org/AndrewMacro.sxw
is an excellent document to learn about macros. It also has example code there that does exactly what you ask for.

Wahur, just used the same example
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group