Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Exporting MS Project Values into Excel

I am exporting the "Actual Work" values from MS Project into an excel
worksheet. Unfortunately, 40 hours is stored as "40h" in excel which makes
it impossible to use for calculations. I would like some automatic way of
making sure this value is always 40 (rather than 40h) - I don't want to
manually manipulate my excel file. Any ideas?

Thanks.

Paul C. Peterson.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Exporting MS Project Values into Excel

You could use a macro to do this
Sub hoursWorked()
'Macro to remove h
Const hoursColumn = "D" 'Change to your needs
Dim iRow As Long
iRow = 2
Do While Len(Range(hoursColumn & iRow).Formula) 0
Range(hoursColumn & iRow).Value = Replace(Range(hoursColumn &
iRow).Value, "h", "")
iRow = iRow + 1
Loop
End Sub

"Paul Peterson - Velox Consulting, LLC" wrote:

I am exporting the "Actual Work" values from MS Project into an excel
worksheet. Unfortunately, 40 hours is stored as "40h" in excel which makes
it impossible to use for calculations. I would like some automatic way of
making sure this value is always 40 (rather than 40h) - I don't want to
manually manipulate my excel file. Any ideas?

Thanks.

Paul C. Peterson.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Exporting MS Project Values into Excel

Thanks for your help Mike.

"Mike" wrote:

You could use a macro to do this
Sub hoursWorked()
'Macro to remove h
Const hoursColumn = "D" 'Change to your needs
Dim iRow As Long
iRow = 2
Do While Len(Range(hoursColumn & iRow).Formula) 0
Range(hoursColumn & iRow).Value = Replace(Range(hoursColumn &
iRow).Value, "h", "")
iRow = iRow + 1
Loop
End Sub

"Paul Peterson - Velox Consulting, LLC" wrote:

I am exporting the "Actual Work" values from MS Project into an excel
worksheet. Unfortunately, 40 hours is stored as "40h" in excel which makes
it impossible to use for calculations. I would like some automatic way of
making sure this value is always 40 (rather than 40h) - I don't want to
manually manipulate my excel file. Any ideas?

Thanks.

Paul C. Peterson.

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
Project values? panda Excel Worksheet Functions 6 March 12th 08 04:31 PM
Exporting calculated values Susan Setting up and Configuration of Excel 2 September 11th 06 06:27 PM
How can I project the values of intersection of curves in chart on RahulMani Excel Worksheet Functions 1 June 5th 06 04:00 PM
How to convert MS Project to MS Excel. I don't have MS Project. Jane Excel Discussion (Misc queries) 1 February 20th 06 10:01 PM
project values based on other values Gabriele Excel Discussion (Misc queries) 1 January 7th 05 09:27 AM


All times are GMT +1. The time now is 04:50 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"