Write some Software

Closed Posted 7 years ago Paid on delivery
Closed

I am having a lot of problems running code that works as expected in Excel 2010 and below, but not in Excel 2013 and above. I believe the problems are related the SDI introduced in Excel 2013

As a simple example, create a new workbook and insert the procedure Test() found at the end of this message.

Save the workbook as a macro enabled workbook.

Run Test() under Excel 2010 or below, and ThisWorkbook will be active at the conclusion of Test().

Run Test() under Excel 2013 or 2016 and this [login to view URL] will be active at the conclusion of Test().

What can be done to make this workbook active at the conclusion of Test() when run under Excel 2013 or 2016?

I have a large application that has similar problems. I am looking to hire an expert to help me fix them. Anyone who can provide a solution to make Test() work as expected under Excel 2013 and 2016 will be considered.

Sincerely

Matt Hurley

BudgeTools LLC

805 376 8090

Sub Test()

[login to view URL] = False

[login to view URL](1).Range("A1").Value = _

[login to view URL] & " should be Active at the end of Test()"

[login to view URL]

[login to view URL] [login to view URL] & "\[login to view URL]", 51

[login to view URL] [login to view URL] & "\[login to view URL]"

Workbooks("[login to view URL]").Sheets(1).Range("A1").Value = _

"[login to view URL] should be NOT Active at the end of Test()"

Workbooks("[login to view URL]").Sheets(1).Range("A1").[login to view URL] = 255

[login to view URL] = True

[login to view URL]

' Run Test() under Excel 2010 and below _

and this workbook will be active at the conclusion of test().

' Run Test() under Excel 2013 or 2016 _

and this [login to view URL] will be active at the conclusion of test().

'What can be done to make this workbook active at the conclusion of test() _

when unning Excel 2013 or 2016?

End Sub

Excel Visual Basic for Apps

Project ID: #11651651

About the project

14 proposals Remote project Active 7 years ago

14 freelancers are bidding on average $52/hour for this job

deepbluetech

Hi Matt, I am an Excel macro expert and would be happy to assist you. I was successful in tweaking the Test() code to make it work as desired under Excel 2016. Let me know and we can discuss. Regards, Arul

$50 USD / hour
(204 Reviews)
7.4
P0L

Hello, I’m an Excel expert and I would like to help you with your project. Please check my profile and contact me to discuss further details. Regards.

$50 USD / hour
(273 Reviews)
7.2
elqueabandona

Hello, my name is Cristian, I have a degree in Business and work with excel every day. I have much experience with spreadsheets, formulas, models and macros. Check my reviews. They speak for themselves. Best rega More

$50 USD / hour
(209 Reviews)
6.8
ZeusMan

Hello, I’ve carefully gone through your job posting Write some Software. I'm an expert in Advanced Excel VBA programming techniques. I am very much interested in your project with all of your requirements. I am a More

$55 USD / hour
(73 Reviews)
5.9
abhinovpankaj

Hello, I have been working as freelancer since last ~ 3 years,prior to this was working with a MNC as an Sr. Software Professional. The project is Product based development and integration of the product with vari More

$55 USD / hour
(46 Reviews)
5.4
prabakarm23

I have 7 years of experience in .NET, VBA Macros, VB script,PS Script and VB creation with application like SAP, Internet explorer, Microsoft Outlook,PDF& Text files, MS Access and SQL Server databases. And also I More

$55 USD / hour
(51 Reviews)
4.7
TulyakovN

Hello. Understand, how to do this job. Skills in VBA, experiance of working in word, excel, access. No problem with this job and those tasks from discription.

$50 USD / hour
(5 Reviews)
2.8
workspaceitaus

Hello, I m Tahsinul Alam, completed Masters in Software Engineering now working as one of the project manager of WSIT-Austalia software firm located in Melbourne,Australia. We have 13 different teams to work in dif More

$55 USD / hour
(0 Reviews)
0.0