Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

X+ screenshot output in excel


Bruce Caulley
 Share

Recommended Posts

Ahoy!

 

I am trying to reproduce the setup sheet I used to use now that I have a seat of my own again. Only thing is I am now using office2007 and an X+ version a couple of versions ahead of where I was, so I am having a bit of trouble with the placement of the screenshot.

 

Previously the screenshot was placed wherever the acive cell was when the excel template was saved. Now it is always outputting in the same place no matter where the active cell is when saving.

 

Is this an excel2k7 thing?

 

Bruce

Link to comment
Share on other sites

Bruce, The screenshot macro uses the following

 

code:

 Sub format_screenshot()

Sheets("Sheet1").Select 'pics brought in on Sheet1

ActiveSheet.Shapes("Picture 1").Select ' Screen SHOT mark

Selection.Cut

...............

to pick it up to move it.

But it is placed in the tab you are in when you save. So according to the above code, if you did not save with a "Sheet1" tab cell active, then it will not find the picture1 item.

Does this in my Office 2007..... and 2003

 

HTH

Link to comment
Share on other sites

Robert,

Is there any way to pick which cell it goes to?

 

At the moment the output is dumped on the left of the sheet and I have my setup sheet further over to the right linking the values that I need. Currently I need to scroll to the left and drag the screenshot over to the right where I want it, but in older X+ versions I could control exactly where it landed just by whatever cell was highlighted when saving the XLT.

 

Bruce

Link to comment
Share on other sites

I don't think so. But using the "ActiveSheet.Shapes("Picture 1").Select", I can get it regardless of which cell it's in and then move it to where I want, so I it hasn't been an issue with me.

Sorry, thats prolly not much help.

I can test to see if I can place it......

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...