Forum

Catalin Bombea
@catalinb
Admin
Member
Joined: Nov 8, 2013
Last seen: Jul 3, 2025
Topics: 1 / Replies: 1936
Reply
RE: Use VBA to Set Print Area

Hi Mike, At the begiinning of the PrintSheets procedure, your code is printing visible sheets WITHOUT setting the print area. After printing those,...

4 years ago
Forum
Reply
RE: Use VBA to Set Print Area

The VBA Project is password protected in all files provided, can't help you.

4 years ago
Forum
Reply
RE: Command Button Event from Drop Down

ThisWorkbook.Worksheets(cboAsset.Value & "_Request").Visible = xlSheetVisible if cboAsset.Value="Beach" then ThisWorkbook.Worksheets("Senex...

4 years ago
Forum
Reply
RE: Use VBA to Set Print Area

This code can be replaced: For I = 1 To 20 On Error Resume Next If I = 1 And Sheets("Inspection Sheet (1)").Visible = True Then Worksheets("Inspect...

4 years ago
Forum
Reply
RE: Grouping years by monts with the same days of the week distribution

Interesting challenge, indeed, but not clear unfortunately. Where are those years coming from? (1978, 1984, 1989, 1995) that have the same days o...

4 years ago
Reply
RE: Command Button Event from Drop Down

You are using a static value, hard typed, not a dynamic value for sheet name: ThisWorkbook.Worksheets("DataEntry").Visible = xlSheetHidden To hi...

4 years ago
Forum
Reply
RE: Command Button Event from Drop Down

I don't understand how the suffix "_Request" goes to the correct sheet name. What about if my sheet names had different titles? Like "Request Form 1" ...

4 years ago
Forum
Reply
RE: Command Button Event from Drop Down

how come I only have to enter "_Request" as the form name that it opens up to ? as opposed to the full sheet name of "Senex_Request" or "Beach_Request...

4 years ago
Forum
Reply
RE: Use VBA to Set Print Area

Hi Mike, You have to clarify the logical chain, previously you was using 2 parameters (Z > 40 Or pa), now you use only "z". In this case, use AN...

4 years ago
Forum
Reply
RE: Adding invoices per vendor id

Here is an example of summing data with power query. I Grouped data by column 122 as ID, aggregating columns 123 and 125. (have no idea which are t...

4 years ago
Forum
Reply
RE: Use VBA to Set Print Area

Hi Mike, Try to use ElseIf conditions, or select case. In your code, each If line will be tested and that overwrites the previous result, if there ...

4 years ago
Forum
Reply
RE: Command Button Event from Drop Down

What's this code for? Code_Testing_Macro_Enabled.Senex_Request Application.Goto needs a range address, should look exactly as provided: ...

4 years ago
Forum
Reply
RE: Use VBA to Set Print Area

Hi Mike, There is no file attached, please use the button Start Upload, not just Select Files. PrintArea is easy to set, here is an example, you...

4 years ago
Forum
Reply
RE: Command Button Event from Drop Down

If you want to start the code when there is a change in that dropdown, use: sub cboAsset_Change() On Error Resume Next Application.Goto T...

4 years ago
Forum
Reply
RE: Adding invoices per vendor id

Can you provide a sample csv file as well? The structure of that file is really important in processing, no matter if it will be power query or vba.

4 years ago
Forum
Page 32 / 130