Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default IF/Then Theory between two or more tabs.

I have a different worksheet than the one i am going to describe. I'm just
going to make this one an example.

i would like to have my tab have all the information. But on my second (or
more) tab i want it to display specific information. Say i wanted it like a
calendar function

The bottom tabs would be Day(all info), 12 am, 1 am, 2 am etc.
In the Day tab i would have as headers:
Name, Date, Remarks, Time.

Then under those headers you would have the needed information. Say it
would be.

Beetlejuice, Monday, Call his name 3 times, 2 am.

So i was wondering if there was a way to make it so under the 2 am section
that anything in your Day list that is 2 am would auto show up in 2 am only
by entering in information into the Day tab area. And it would automatcially
fall under the headers of Name, Date, Remarks, Time in the 2 am tab.

If there is any way i would so love to know how. If not please let me know
so i can stop getting my hopes up. or if needing more info let me know. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default IF/Then Theory between two or more tabs.

Yes, it's possible to have what you want. You can setup a Worksheet_Change
macro in the Day sheet. Code written in that macro would look for a change
in, say, Column D, if that is the column that would hold the "2 am" entry.
I would strongly suggest that the cells in this Column D have Data
Validation so that the user would have to select a value from a specific
list. Once the user selects that value, the macro code would react and do
whatever you wanted. The macro below is one example that will do it. HTH
Otto
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Dest As Range
If Target.Count 1 Then Exit Sub
If IsEmpty(Target.Value) Then Exit Sub
If Not Intersect(Target, Range("D:D")) Is Nothing And _
Target.Row 1 Then
With Sheets(Target.Value)
Set Dest = .Range("A" & Rows.Count).End(xlUp).Offset(1)
Target.Offset(, -3).Resize(, 4).Copy
Dest.PasteSpecial xlPasteValues
End With
End If
End Sub

"ruaduck" wrote in message
...
I have a different worksheet than the one i am going to describe. I'm just
going to make this one an example.

i would like to have my tab have all the information. But on my second
(or
more) tab i want it to display specific information. Say i wanted it like
a
calendar function

The bottom tabs would be Day(all info), 12 am, 1 am, 2 am etc.
In the Day tab i would have as headers:
Name, Date, Remarks, Time.

Then under those headers you would have the needed information. Say it
would be.

Beetlejuice, Monday, Call his name 3 times, 2 am.

So i was wondering if there was a way to make it so under the 2 am section
that anything in your Day list that is 2 am would auto show up in 2 am
only
by entering in information into the Day tab area. And it would
automatcially
fall under the headers of Name, Date, Remarks, Time in the 2 am tab.

If there is any way i would so love to know how. If not please let me know
so i can stop getting my hopes up. or if needing more info let me know.
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default IF/Then Theory between two or more tabs.

I should add that this macro must be placed in the Day sheet module. To
access that module, right-click on the sheet tab and select View Code.
Paste this macro into that module. "X" out of the module to return to your
sheet. Otto
"Otto Moehrbach" wrote in message
...
Yes, it's possible to have what you want. You can setup a
Worksheet_Change macro in the Day sheet. Code written in that macro would
look for a change in, say, Column D, if that is the column that would hold
the "2 am" entry. I would strongly suggest that the cells in this Column D
have Data Validation so that the user would have to select a value from a
specific list. Once the user selects that value, the macro code would
react and do whatever you wanted. The macro below is one example that
will do it. HTH Otto
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Dest As Range
If Target.Count 1 Then Exit Sub
If IsEmpty(Target.Value) Then Exit Sub
If Not Intersect(Target, Range("D:D")) Is Nothing And _
Target.Row 1 Then
With Sheets(Target.Value)
Set Dest = .Range("A" & Rows.Count).End(xlUp).Offset(1)
Target.Offset(, -3).Resize(, 4).Copy
Dest.PasteSpecial xlPasteValues
End With
End If
End Sub

"ruaduck" wrote in message
...
I have a different worksheet than the one i am going to describe. I'm
just
going to make this one an example.

i would like to have my tab have all the information. But on my second
(or
more) tab i want it to display specific information. Say i wanted it
like a
calendar function

The bottom tabs would be Day(all info), 12 am, 1 am, 2 am etc.
In the Day tab i would have as headers:
Name, Date, Remarks, Time.

Then under those headers you would have the needed information. Say it
would be.

Beetlejuice, Monday, Call his name 3 times, 2 am.

So i was wondering if there was a way to make it so under the 2 am
section
that anything in your Day list that is 2 am would auto show up in 2 am
only
by entering in information into the Day tab area. And it would
automatcially
fall under the headers of Name, Date, Remarks, Time in the 2 am tab.

If there is any way i would so love to know how. If not please let me
know
so i can stop getting my hopes up. or if needing more info let me know.
Thanks





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default IF/Then Theory between two or more tabs.

Thank you i will try this.

"Otto Moehrbach" wrote:

I should add that this macro must be placed in the Day sheet module. To
access that module, right-click on the sheet tab and select View Code.
Paste this macro into that module. "X" out of the module to return to your
sheet. Otto
"Otto Moehrbach" wrote in message
...
Yes, it's possible to have what you want. You can setup a
Worksheet_Change macro in the Day sheet. Code written in that macro would
look for a change in, say, Column D, if that is the column that would hold
the "2 am" entry. I would strongly suggest that the cells in this Column D
have Data Validation so that the user would have to select a value from a
specific list. Once the user selects that value, the macro code would
react and do whatever you wanted. The macro below is one example that
will do it. HTH Otto
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Dest As Range
If Target.Count 1 Then Exit Sub
If IsEmpty(Target.Value) Then Exit Sub
If Not Intersect(Target, Range("D:D")) Is Nothing And _
Target.Row 1 Then
With Sheets(Target.Value)
Set Dest = .Range("A" & Rows.Count).End(xlUp).Offset(1)
Target.Offset(, -3).Resize(, 4).Copy
Dest.PasteSpecial xlPasteValues
End With
End If
End Sub

"ruaduck" wrote in message
...
I have a different worksheet than the one i am going to describe. I'm
just
going to make this one an example.

i would like to have my tab have all the information. But on my second
(or
more) tab i want it to display specific information. Say i wanted it
like a
calendar function

The bottom tabs would be Day(all info), 12 am, 1 am, 2 am etc.
In the Day tab i would have as headers:
Name, Date, Remarks, Time.

Then under those headers you would have the needed information. Say it
would be.

Beetlejuice, Monday, Call his name 3 times, 2 am.

So i was wondering if there was a way to make it so under the 2 am
section
that anything in your Day list that is 2 am would auto show up in 2 am
only
by entering in information into the Day tab area. And it would
automatcially
fall under the headers of Name, Date, Remarks, Time in the 2 am tab.

If there is any way i would so love to know how. If not please let me
know
so i can stop getting my hopes up. or if needing more info let me know.
Thanks






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hide tabs from view then lock tabs? slowboat Excel Discussion (Misc queries) 1 December 19th 07 07:06 AM
Theory on test equating and linking [email protected] Excel Discussion (Misc queries) 0 March 27th 07 02:00 AM
theory of biorhythms deadman Excel Discussion (Misc queries) 2 May 27th 06 01:17 PM
How do i put themulti-attribution utility theory (MAUT) worksheet. lucky d Excel Worksheet Functions 1 February 13th 06 05:33 AM
Need a Multi-Attribute Theory (MAUT) Worksheet PBunkley Excel Discussion (Misc queries) 1 November 7th 05 04:46 AM


All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"