Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by hermesalpha
at 2024-07-20 05:15:51
Point:500 Replies:15 POST_ID:829033USER_ID:11826
Topic:
Microsoft Excel Spreadsheet Software;;
You can see in this posting that Glenn came up with an excellent solution to my question:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28469419.html
I only need to copy this VBA to my own Excel now (as I have several other tabs not in the Excel I uploaded here at EE, plus more info on the same tab as Glenn entered his solution in my own Excel version). But I don't know how to do this, have never entered VBA in Excel before.
I can I do that for Excel 2007? Where is the option for entering VBA in Excel? And can I just copy and paste Glenn's VBA?
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28469419.html
I only need to copy this VBA to my own Excel now (as I have several other tabs not in the Excel I uploaded here at EE, plus more info on the same tab as Glenn entered his solution in my own Excel version). But I don't know how to do this, have never entered VBA in Excel before.
I can I do that for Excel 2007? Where is the option for entering VBA in Excel? And can I just copy and paste Glenn's VBA?
Author: hermesalpha replied at 2024-07-26 06:24:48
duncanb7, I open the VBA editor in Excel and copy and paste his 32-rows long VBA. But you can see on this screencast there are many different windows opened after I've pressed ALT and F11:
http://screencast.com/t/RO2c28oW
So I don't know how to save the Excel as macro-enabled (ok, I know which file extension to choose, but among all the opened windows, how do I get to the save-options and how to save?), and I don't know in which window to copy the VBA to and what to do with all opened windows. It's confusing.
http://screencast.com/t/RO2c28oW
So I don't know how to save the Excel as macro-enabled (ok, I know which file extension to choose, but among all the opened windows, how do I get to the save-options and how to save?), and I don't know in which window to copy the VBA to and what to do with all opened windows. It's confusing.
Expert: duncanb7 replied at 2024-07-20 07:43:22
see attachment file of junk.xlsm
Duncan
Duncan
Expert: duncanb7 replied at 2024-07-20 07:40:51
Click Insert on Excel, click Sharp and draw circle or rect shape you like, and click the sharp
by mouse right-click and edit text for a word of "Reset" and click "assign macro" to the Reset_values() sub
Duncan
by mouse right-click and edit text for a word of "Reset" and click "assign macro" to the Reset_values() sub
Duncan
Expert: duncanb7 replied at 2024-07-20 07:38:34
Be Reminded, you have to save your file into xlsm format that is
Excel's macro-enabled file. SO it is xlsm file not xlsx
Duncan
Excel's macro-enabled file. SO it is xlsm file not xlsx
Duncan
Expert: duncanb7 replied at 2024-07-20 07:37:21
Please follow steps
1- Click insert and click modules on VBA editor and copy his macro on macro1 into your macro1 including "option explicit" that is reset all cell color to white
2-Copy everything in his sheets in Viktad rankning" into your similar sheet
3- Create button if you want called "Reset" that will call Reset sub in the sheet to
reset color from yello to white.
DUncan
1- Click insert and click modules on VBA editor and copy his macro on macro1 into your macro1 including "option explicit" that is reset all cell color to white
2-Copy everything in his sheets in Viktad rankning" into your similar sheet
3- Create button if you want called "Reset" that will call Reset sub in the sheet to
reset color from yello to white.
DUncan
Author: hermesalpha replied at 2024-07-20 06:54:55
MacroShadow, I tried your Excel suggestion, but it didn't work: I changed highlighting, but the total remains the same all the time. And Reset button is missing, so I can't reset to zero.
Ok duncanb7, it's no problems hiding the column in Excel, I did that. I think that is what Glenn did also.
Ok duncanb7, it's no problems hiding the column in Excel, I did that. I think that is what Glenn did also.
Expert: duncanb7 replied at 2024-07-20 06:38:36
On Column B, you just click B column, and then mouse right click, there is option call "hide" you can click it to hide the whole column B. I think he didn't use macro VBA code to hide column, just manually made it
Duncan
Duncan
Expert: MacroShadow replied at 2024-07-20 06:26:10
How is this.
Author: hermesalpha replied at 2024-07-20 06:20:15
Yes, I think that's what Glenn did because he added a column B which he then hide (in his solution Excel, there are column A and column C visible only, not column B).
Expert: duncanb7 replied at 2024-07-20 06:18:09
I've inserted the extra column B that I want to be hidden after VBA has been entered there
You want to hide the Column B if VBE Editor is opened, Right ?
Duncan
Author: hermesalpha replied at 2024-07-20 06:16:05
Ok, here is my Excel file attached (I've inserted the extra column B that I want to be hidden after VBA has been entered there).
Expert: duncanb7 replied at 2024-07-20 06:03:11
If you send us your Excel file, that will be easier for comunication.
Take sometime to use VBA editor or Excel option.
Duncan
Take sometime to use VBA editor or Excel option.
Duncan
Expert: duncanb7 replied at 2024-07-20 06:02:32
On VBA editor, there is save button and you can save it in Excel, both are same
Author: hermesalpha replied at 2024-07-20 05:57:33
Yes, the option for entering VBA in Excel 2007.
Thanks, so I copied and pasted Glenn's VBA now into the VBA editor. How do I save this?
By the way, I did like Glenn did and inserted a new column to the right of column A, then placed the cursor in cell B1 and entered Glenn's VBA. After I've saved the VBA I will hide column B (like Glenn did).
Thanks, so I copied and pasted Glenn's VBA now into the VBA editor. How do I save this?
By the way, I did like Glenn did and inserted a new column to the right of column A, then placed the cursor in cell B1 and entered Glenn's VBA. After I've saved the VBA I will hide column B (like Glenn did).
Expert: duncanb7 replied at 2024-07-20 05:52:27
Where is the option for entering VBA in Excel? And can I just copy and paste Glenn's VBA?
What you mean, option and enter VBA ? (enter VBA on Excel 2007 ,just press alt+F11)
Duncan