Quantcast
Channel: Spiceworks Community
Browsing latest articles
Browse All 40 View Live
↧

VB macro doesn't work right in Office 2013

When I installed 2013 on my desktop Office went "wonkey"; my macros didn't work either. I chalked it up to they must have changed the callings and how the macros interact. It wasn't a big deal so I...

View Article


VB macro doesn't work right in Office 2013

Are the print functions part "macro", or is it all done exclusively in VBA? I didn't think VBA had really changed, but maybe 2013 finally did it. Maybe let your contractor work on a different machine...

View Article


VB macro doesn't work right in Office 2013

Maybe it's security settings. I've had to create security certificates and use them to sign the VB script. Then when running the script for the first time it asks you to approve the signature, if I...

View Article

VB macro doesn't work right in Office 2013

Trunker, it looks like a combination of Macros and VB script. The contractor lives out of state.

View Article

VB macro doesn't work right in Office 2013

Aha! That's what I suspected. It's probably the macro portion that is screwed up now. Can you give your contractor VPN & RDP access to a computer so she can fix the issue remotely?

View Article


VB macro doesn't work right in Office 2013

Not sure what you mean by macro vs vb script - macros are written in VBA, are they calling external VB script? There are some differences in VBA in 2013 but for the most part the code should run fine....

View Article

VB macro doesn't work right in Office 2013

Gerard, I don't think there's anything confidential in the code. I have attached the code for the print functions. There might be more, but I think this is the bulk of it. I ran Debug/Compile on the...

View Article

VB macro doesn't work right in Office 2013

Just had a quick look at the code and nothing jumps out - I assume the worksheet names have not changed? Don't have time to investigate further at the moment, will have more time tomorrow.

View Article


VB macro doesn't work right in Office 2013

Gerard, you are right. Excel converts macros into VBA... I was thinking of MS Access. Don't I feel sheepish.

View Article


VB macro doesn't work right in Office 2013

No, the worksheet names haven't changed. Going to a printer, it will print two worksheets, then it stops as if it has finished. It also screws up the page breaks on many of the worksheets. The PDF...

View Article

VB macro doesn't work right in Office 2013

Yeeesh, whomever wrote that needs to learn about Select Case. :) What method (Sub) is actually run (first) for the macro in question? If you put in a breakpoint near the entry point, and Step through...

View Article

VB macro doesn't work right in Office 2013

Techie007, I think which Sub runs first depends on what they want to print. See Attached. They put a Y in the Print column next to each worksheet they want to print. If they want to print to PDF, they...

View Article

VB macro doesn't work right in Office 2013

Gotcha, seeing the form helps. :) When they hit "Print Selected Items" what sub does it actually run? My _guess_ would be "PRNS()" :)

View Article


VB macro doesn't work right in Office 2013

Looking at the button, it looks like it runs the macro PRNS. It also prints to whatever the last printer used was for the spreadsheet. I just printed to adobe to get the form page and when I clicked...

View Article

VB macro doesn't work right in Office 2013

Then I would stick a breakpoint (help on that) at the first sub call in PRNS() ("Call USF2PRN2"), and then when it breaks there use step INTO (F8 I think) to step your way through the code and see if...

View Article


Re: VB macro doesn't work right in Office 2013

1 techie007 - step through the code and identify where it does not work. although there appears to be no issue when you are printing to a pdf. Basically, each printing subroutine is run for each...

View Article

VB macro doesn't work right in Office 2013

Wow, whoever wrote that needs their hand slapped! No comments, and the variables seem to be rather random. I'm good with VB and Excel, but I'd need the actual workbook to walk through something like...

View Article


VB macro doesn't work right in Office 2013

Ignoring the fact that it is badly written, it should still work. The structure is identical for each worksheet and works for the first 2 sheets so it looks like it is not finding a match (y or Y) for...

View Article

VB macro doesn't work right in Office 2013

Gerard9944 wrote: It is possible that it is not a VBA issue at all, maybe something odd happening when you send multiple sheets to the printer. To test, paste the Sub below and run it to print all...

View Article

VB macro doesn't work right in Office 2013

Making note of all of the suggestions. Can't try them out right now, but I have a good workaround. Lots going on around here, and we're very close to one of the Colorado wildfires.

View Article
Browsing latest articles
Browse All 40 View Live