Old 12th October 2010, 16:57   #1
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Question about Excell

Hi all...

I have excell file...which have 5 sheets (tabs)...

Is it possible to copy the contents of the sheet1 to the others including margins, border styles, colors, etc..?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 12th October 2010, 18:45   #2
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
Try copying what you need and then the "paste special" function from the Edit menu (or through right-clicking)

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 13th October 2010, 05:04   #3
Scar Da Kookee
[Forum Pastry]
 
Scar Da Kookee's Avatar
 
Join Date: Jun 2001
Posts: 1,032
yeah, thats about it. ^

Needs more moo-cows.
Scar Da Kookee is offline   Reply With Quote
Old 13th October 2010, 15:36   #4
samortan
Junior Member
 
samortan's Avatar
 
Join Date: Oct 2010
Posts: 8
Yes everything is possible. You just need to work harder. And find some more techniques.
samortan is offline   Reply With Quote
Old 13th October 2010, 16:01   #5
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
?

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 14th October 2010, 02:44   #6
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
@Warrior of the Light: Thanks, yes copy-paste should be the instant solution, but my idea is if I made a change in sheet #1, all the sheets update too.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 14th October 2010, 08:05   #7
LAKEL.AMBERT
Banned
 
Join Date: Oct 2010
Posts: 5
Where to download the "Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 and later File Formats" (Compatibility Pack) package that enables you to open, edit, and save documents, workbooks, and presentations in the file formats that are new in the 2007 version and later versions of Microsoft Office programs.
LAKEL.AMBERT is offline   Reply With Quote
Old 14th October 2010, 14:13   #8
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
I couldn't find anything for it..
Linking the content is easy: as a formula it's something like =Sheet1!A1 but when it comes to layout, I can't find a thing.
Perhaps you could try asking on an Office forum aswell?

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 14th October 2010, 14:55   #9
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,167
You'd need to make a macro (well VBA script) to do it.

Apparently something like this:
code:
Range("A1:E11").Copy
Sheets("Sheet2").Range("A1:E11").PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False



Tie it to a button or a function of the sheet/workbook.

But yeah, is that what you want?
QOAL is offline   Reply With Quote
Old 14th October 2010, 15:12   #10
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,087
Isn't there an OnUpdate or something similar event for the Excel VBA object you can chuck that script into? Been a while since I done did anything that involved in Excel.
thinktink is offline   Reply With Quote
Old 14th October 2010, 15:24   #11
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,167
Yeah there is an on change sub you can have for each sheet:
Private Sub Worksheet_Change(ByVal Target As Range)
End Sub
That's actually what I tested it with, but if you're making many changes then having it update less often would be nicer.

(For reference, to add this function etc: Tools -> Macro -> Visual Basic Editor -> Double click sheet one on list, copy paste away and edit to taste)
Tested on Office 2002
QOAL is offline   Reply With Quote
Old 16th October 2010, 09:32   #12
Widdykats
The Forum Slut
 
Widdykats's Avatar
 
Join Date: Jun 2002
Location: A place that invites a post pumping whore from NY
Posts: 15,787
^ That's why he's "Super Hero"

Last edited by Widdykats; 2nd December 2013 at 15:45.
Widdykats is offline   Reply With Quote
Old 17th October 2010, 22:21   #13
swingdjted
DRINK BEER NOW
(Forum King)
 
swingdjted's Avatar
 
Join Date: Feb 2006
Location: Northern West Virginia
Posts: 10,064
Send a message via AIM to swingdjted Send a message via Yahoo to swingdjted
*plays cheesy cartoon hero music*

Don't forget to live before you die.
swingdjted is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump