Hi folks. First time poster and relatively new to Excel VBA. Here's the situation...
I wrote a set of scripts in VBA that import a text file into excel, clean out any unneeded data from the import, move the data onto a series of worksheets, edit the data on those worksheets, sort it differently on each worksheet, and then, one by one, open the worksheet in print preview to allow the user to decide to print it subsequently moving to the next worksheet in the queue until all the newly created worksheets have been dealt with by the user. All of this worked like a charm pre 2007 (tested in Excel 2003 and Excel XP without error). When I switched to 2007 everything fell apart. Now, when I run the program it does all the data manipulation as before but when it brings up the printpreview window all the buttons on the ribbon are grayed out. If I click the page it toggles the zoom but the close button and the print button are both unavailable. The only way I can close the print preview window is by clicking the little x in the upper right hand corner. In case its helpful I've tried this with
andPlease Login or Register to view this content.
and neither way worked. I'm getting desperate. Can anyone help me out with this? Thanks!Please Login or Register to view this content.
Bookmarks