Sign in to follow this  
Followers 0
donflinn

Missing v3.3.12.0 Help Function Reference for _Excel_SheetActivate

10 posts in this topic

The Function Reference for _Excel_SheetActivate is missing from v3.3.12.0 Help. Does this function still exist as it did in v3.3.8.1? Are there other missing Function References?

Share this post


Link to post
Share on other sites



The help file has a list of the changes made to the Excel UDF. Look in the Contents tab, History/ChangeLog there's a link to script breaking changes.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

The wiki should give you an idea how to code the missing function yourself.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Yes, the Excel UDF - Script Breaking Changes indicate the function still exists, but there is no Function Reference for _Excel_SheetActivate.

Share this post


Link to post
Share on other sites

The function isn't in the current Excel UDF, and it's not mentioned in the help file other than in the script breaking changes page for the Excel UDF.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Water,

Just saw your reference to Wiki, and found that _Excel_SheetActivate was removed, and what to substitute in its place. It would be helpful to us occasional programmers to be able to find this information in the Help file. Thank you for your response.

Share this post


Link to post
Share on other sites

Ive probably left this pile of sentiment on someones doorstep before but:

It would be more helpful to just leave the functions.  Just because something is only one line, does not make any less useful.  I imagine many of the UDFs have very useful one line actions (gdiplus.au3 comes to mind), moreso I would think the goal of the UDF is to wrap all the reasonably useful methods possible.  It makes it hella easier when every action against an excel object is prefaced with _Excel and nice to have the pop up reminder of the parameters required.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Water,

Just saw your reference to Wiki, and found that _Excel_SheetActivate was removed, and what to substitute in its place. It would be helpful to us occasional programmers to be able to find this information in the Help file. Thank you for your response.

Will add a link to the script breaking changes help file page. Thanks for the hint :)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Ive probably left this pile of sentiment on someones doorstep before but:

It would be more helpful to just leave the functions.  Just because something is only one line, does not make any less useful.  I imagine many of the UDFs have very useful one line actions (gdiplus.au3 comes to mind), moreso I would think the goal of the UDF is to wrap all the reasonably useful methods possible.  It makes it hella easier when every action against an excel object is prefaced with _Excel and nice to have the pop up reminder of the parameters required.

The Excel UDF was completely rewritten to support new file formats and new features of Microsoft Excel.

The design was completely changed. The old UDF only worked with the active Worksheet and only with the active Workbook. It didn't support the new file formats etc.

So script breaking changes were inevitable.

Activating a sheet was no longer needed for the core function of the UDF because you now specify the sheet to work with as a parameter.

The subject of one line functions (after removing all the parameter error checking) has been discussed with trancexx and it was decided to drop them.

I know that moving from the old to the new UDF causes some extra work but I think it is worth the effort.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Will add a link to the script breaking changes help file page. Thanks for the hint :)

Done. Will be part of the next beta release.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0