Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Changing the displayed information in a series of cells.

I would like to know if I can use a VB module/script/something in a workbook
that will change the information that a cell displays according to the data
that is placed in the cell.
What I am trying to accomplish is working with a schedule. I would like to
be able to type 09:00 into a cell, but have it displayed as 9 - 6
representing the fact that a shift that starts at 9:00am would run from 9 am
to 6 pm.
I admit that I am basically clueless where VB is involved, and most of my
experience with it has dealt with using others code and modifying it to meet
my specific needs.
I am fairly handy with creating Macros, but have no idea where to even begin
with something like this.

Thanks in advance for your advice.
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Changing the displayed information in a series of cells.

several ways, there is the possibility of using the format method to create
it the way you want in VB but it is possible to us the format worksheet
function with vb. one question if someone types in 9:00 and you want it 9-6
how do you know where the six comes from? or is that default

"Fleone" wrote:

I would like to know if I can use a VB module/script/something in a workbook
that will change the information that a cell displays according to the data
that is placed in the cell.
What I am trying to accomplish is working with a schedule. I would like to
be able to type 09:00 into a cell, but have it displayed as 9 - 6
representing the fact that a shift that starts at 9:00am would run from 9 am
to 6 pm.
I admit that I am basically clueless where VB is involved, and most of my
experience with it has dealt with using others code and modifying it to meet
my specific needs.
I am fairly handy with creating Macros, but have no idea where to even begin
with something like this.

Thanks in advance for your advice.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Changing the displayed information in a series of cells.

Ben,
Yes, 6 would be the default. We use three shifts here, one 9 to 6, one 10 to
7 and one 12 to 9. So with the initial VB information, I am hoping to be able
to cover each of those options so that if I enter 09:00 into the cell, it
displays 9 - 6, 10:00 would display 10 - 7, and 12:00 would display 12 - 9.
I am out of my element as far as starting the creation of the script, or
code (not sure what the correct term would be) So far, deciding what code I
need to even start the process, and where it would reside ( I am guessing in
the "This WorkBook" module )
Appreciate any direction that can be provided.

"ben" wrote:

several ways, there is the possibility of using the format method to create
it the way you want in VB but it is possible to us the format worksheet
function with vb. one question if someone types in 9:00 and you want it 9-6
how do you know where the six comes from? or is that default

"Fleone" wrote:

I would like to know if I can use a VB module/script/something in a workbook
that will change the information that a cell displays according to the data
that is placed in the cell.
What I am trying to accomplish is working with a schedule. I would like to
be able to type 09:00 into a cell, but have it displayed as 9 - 6
representing the fact that a shift that starts at 9:00am would run from 9 am
to 6 pm.
I admit that I am basically clueless where VB is involved, and most of my
experience with it has dealt with using others code and modifying it to meet
my specific needs.
I am fairly handy with creating Macros, but have no idea where to even begin
with something like this.

Thanks in advance for your advice.

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
the date value of series is incorrectly displayed Johannes Charts and Charting in Excel 0 November 10th 09 05:46 PM
Switch order of series name and value as displayed in chart Jazz Charts and Charting in Excel 1 November 3rd 09 02:34 PM
Chart Series Not displayed Barb Reinhardt Charts and Charting in Excel 2 June 5th 06 10:55 AM
Changing series information for approximately 60 series in a workb Barb Reinhardt Charts and Charting in Excel 2 January 18th 06 10:22 PM
> 12 series displayed, or better way? mark Charts and Charting in Excel 3 March 19th 05 10:33 AM


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

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

About Us

"It's about Microsoft Excel"