Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. claudehenri

    Style formatting, page breaks and document map

    Sorry I just realised I haven't really said what my desired outcome is. I want no return/paragraph character at the top of the new page and the outline number to show in the document map. I've found a half fix. The section page break adds an extra paragraph character before the outline...
  2. claudehenri

    Style formatting, page breaks and document map

    Hi I've got real problems in word 2003 trying to get the document map to show the outlined number when I place a pagebreak just before the numbered line. If I place a page break at the end of the previous line i get a line return on the new page then the numbered heading, or if I insert the...
  3. claudehenri

    error when copying large numbers of sheets into 1 workbook

    I've avoided by problem by opening the template and copying the sheet I want across to the main file. xl doesn't crash when i try to save when doing this. C-H
  4. claudehenri

    object disconnected from clients?

    The thing is with this is you stop all macros running and try to save the file as normal and excel still crashes. Is it a programming problem or a EXCEL problem? Claude-Henri
  5. claudehenri

    error when copying large numbers of sheets into 1 workbook

    OK I've tried the second work around and I get another error when I trie to save. The reason I've come to my current problem is because I ran into the error caused by #2 work around (inserting a template) the thread i start for the work around problem is thread707-1007550 "object disconnected...
  6. claudehenri

    error when copying large numbers of sheets into 1 workbook

    XL 2003 I have tried taking out the sheet that causes the error into another file and copying the sheet into the same file. I get a few more sheets to copy this way. Still end up with the same error though. C-H.
  7. claudehenri

    error when copying large numbers of sheets into 1 workbook

    Excel help on the net says that number of sheets is limited only by available memory. When the error occured I insert this extra bit of code to see my memory usage Temp=Application.MemoryFree Temp=Application.MemoryUsed Temp=Application.MemoryTotal Temp values were 1. 1048576 2. 6548816 3...
  8. claudehenri

    error when copying large numbers of sheets into 1 workbook

    There error "message" was slightly different this time Copy method of Worksheet class failed. C-H.
  9. claudehenri

    error when copying large numbers of sheets into 1 workbook

    I have inserted a new sheet and copied the format from "Wave" across to the new sheet (Sheet5), I got passed where the problem was occuring before but it happened again, this time when there was a total of 65 sheets. There was nothing unusual about the sheet names this time. C-H.
  10. claudehenri

    error when copying large numbers of sheets into 1 workbook

    Yeh I see something similar. Not with the sheet that is crashing the code ("Boom"). But with another sheet ("Wave") has which I have copied (t an earlier stage)in a similar fashion to "Boom" Sheet2112 (Wave 1) Sheet2113 (Fly Wave 5) Sheet2114 (Fly Wave 4) Sheet2115 (Fly Wave 3) Sheet2116 (Fly...
  11. claudehenri

    error when copying large numbers of sheets into 1 workbook

    Hi I am copying a worksheet may time over into the same workbook. Once I reach 59 sheets (total) i get an error Run-time error '1004': Copy method of worksheet failed the line of code i am using is Worksheets("Boom").Copy After:=Worksheets(AfterSht) "boom" is the sheet i have already...
  12. claudehenri

    Getting a picture in excel header to show on forms image control

    Sorry Harleyquinn Another case of not fully explaning myself. What I'm doing is setting up a form that lets you change all the headers and footers on all the sheets. Image1 is the image which is already in the header. I would like the user to see the current image in the header (even if the...
  13. claudehenri

    Getting a picture in excel header to show on forms image control

    Thanks Harleyquinn O.K. this works if I have just inserted this picture into the header, during the session with the file. If i then save and close the file with the header, re-open and try to run this code I get Run-time error '53': File not found any further suggestions? My code is as...
  14. claudehenri

    Getting a picture in excel header to show on forms image control

    Hi All I don't know if its possible, but what I would like to do is take the inserted header picture and show it in a Image control on a form. don't really know where to start. Claude-Henri
  15. claudehenri

    object disconnected from clients?

    Thanks for the info, I haven't found a solution to the problem, so I'm working things another way, to avoid it. I will let you know if I get a solution. C-H. P.S. I'll give you a star just for answering, it has been fairly dry on help
  16. claudehenri

    object disconnected from clients?

    If I add sheets just using this line of code SaveFile.Sheets.Add AfTer:=Worksheets("Geometry & Loads") i.e. just a blank sheet, the error doesn't occur. I have also tried the line of code below, and I get the same error. SaveFile.Sheets.Add AfTer:=Worksheets("Geometry & Loads")...
  17. claudehenri

    object disconnected from clients?

    Hi Still having problems trying to save my file. I have narrowed down where the error occurs but have no idea why it is happening. Public SaveFile As Object Sub OffShoreCrane() Set SaveFile = Workbooks.Add(ThisWorkbook.Path & "\SaveFile.xlt") CraneProject = "Test" SWL End Sub Sub SWL() For j...
  18. claudehenri

    object disconnected from clients?

    Hi My real problem is why is my workbook "disconnecting"! I have been thinking. In Workbook_BeforeSave() event I use ThisWorkbook as the code that is running at the time is in the workbook I want to modify. Would this get confused with the Workbook actually used the .Save command Claude-Henri
  19. claudehenri

    object disconnected from clients?

    Maybe i should tell you that I have an event macro SaveFile. The event is Workbook_BeforeSave(....) all I am doing on this event is formating headers and footers. C-H.
  20. claudehenri

    object disconnected from clients?

    Sorry. SaveFile is declared Public as Object and this is how i have assigned SaveFile in another sub Workbooks.Open (ThisWorkbook.Path & "\SaveFile.xlt") Set SaveFile = ActiveWorkbook C-H.

Part and Inventory Search

Back
Top