Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default MSProject Template failing

One member of our team wrote an Excel macro to create data and then import it
into MSProject and save it as a mpp file. We currently have 6 people using
the program and 4 of us have no problems. One of the others gets an error
message when he runs the macro.

The line that causes the problem is
BaseCalendarCreate Name:="Holiday Calendar"

The error is Run time error 1100, "This method is not available in this
situation"

I have checked the VBA references on the non-working machine and they match
what is on mine (where it works fine).

The previous line in the code is
FileOpen Name:="\\Fil\" & Department & " Project Schedule.xls",
ReadOnly:=False, Merge:=0, Map:="Map 99"

Does anyone have any ideas of what is causing this and what to do about it?
  #2   Report Post  
Posted to microsoft.public.excel.programming
C C is offline
external usenet poster
 
Posts: 61
Default MSProject Template failing

Hi raviyah,

Have you checked to see that the "Holiday Calendar" is available to the
machine that is receiving the error?

clb

"raviyah" wrote:

One member of our team wrote an Excel macro to create data and then import it
into MSProject and save it as a mpp file. We currently have 6 people using
the program and 4 of us have no problems. One of the others gets an error
message when he runs the macro.

The line that causes the problem is
BaseCalendarCreate Name:="Holiday Calendar"

The error is Run time error 1100, "This method is not available in this
situation"

I have checked the VBA references on the non-working machine and they match
what is on mine (where it works fine).

The previous line in the code is
FileOpen Name:="\\Fil\" & Department & " Project Schedule.xls",
ReadOnly:=False, Merge:=0, Map:="Map 99"

Does anyone have any ideas of what is causing this and what to do about it?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default MSProject Template failing

The holiday calendar is available to the user

"C" wrote:

Hi raviyah,

Have you checked to see that the "Holiday Calendar" is available to the
machine that is receiving the error?

clb

"raviyah" wrote:

One member of our team wrote an Excel macro to create data and then import it
into MSProject and save it as a mpp file. We currently have 6 people using
the program and 4 of us have no problems. One of the others gets an error
message when he runs the macro.

The line that causes the problem is
BaseCalendarCreate Name:="Holiday Calendar"

The error is Run time error 1100, "This method is not available in this
situation"

I have checked the VBA references on the non-working machine and they match
what is on mine (where it works fine).

The previous line in the code is
FileOpen Name:="\\Fil\" & Department & " Project Schedule.xls",
ReadOnly:=False, Merge:=0, Map:="Map 99"

Does anyone have any ideas of what is causing this and what to do about it?

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
excel date scheduling not msProject 4pinoy Excel Worksheet Functions 0 November 11th 06 08:33 PM
An .xls template that acts like MSProject? (dependencies, etc) uttster Excel Discussion (Misc queries) 0 February 7th 06 10:29 PM
Hyperlink from MSProject to Excel? Tony H. Excel Discussion (Misc queries) 0 August 5th 05 06:52 PM
Excel VBA code under MSProject Buster Excel Programming 0 November 24th 04 01:06 AM
Sort (in Excel) from code in MSProject Peter Darmody Excel Programming 2 October 16th 03 04:36 AM


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