Forum

Catalin Bombea
@catalinb
Admin
Member
Joined: Nov 8, 2013
Last seen: Jul 3, 2025
Topics: 1 / Replies: 1936
Reply
RE: Change to code if a value is false, need to print to different sheets and format to if it is true.

Peter Douglas said Hi I have almost got this all working, I got the code to check is cell C3 is blank if it is does not Print. So now it does not pr...

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

Make sure the path used in your code is correct.

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

Found my mistake, sorry: If Ctl.Name Like "Chart*Name" Then should be: If Ctl.Name Like "*Chart*Name" Then

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

Hi Brian, Just for accuracy, the control name does not contain .Value, that is the method that extracts the value of that control. This line: ...

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

This line should be updated: ChName = Right(Ctl.Name, Len(Ctl.Name) - InStr(Ctl.Name, "Chart")) replace it with: ChName = Right(Ctl.Name, Len(Ctl.N...

5 years ago
Forum
Reply
RE: Macro to copy specific workbooks from sub-folders

Hi Howard, You can also loop through the main folder subfolders: Dim SbFld as object, FileObject as Object For each SbFld in fso.GetFolde...

5 years ago
Forum
Reply
RE: Code should input text for each line but Does this only once..

Hi Leslie, You start with xlrow=2, but inside the loop you are not increasing the row index, so it will always remain 2. Before next MyAssgn, us...

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

Just delete that line, that procedure does not exist anymore.

5 years ago
Forum
Reply
RE: How to manage imported and distributed items

Hi Corrie, The FIFO problem is more complicated than you described, for example, units sold may take prices from 2 imported items, if the quantity ...

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

Added in the file attached a new version of GetImage procedure. If you don't want code to overwrite table formulas, then just remove those lines of...

5 years ago
Forum
Reply
RE: User form - Adding a PNG and a path to the file

Hi Brian, The stages are not uploaded to user form, I guess you just want to display a link to those files in the userform. Add a label with the fi...

5 years ago
Forum
Reply
RE: Change to code if a value is false, need to print to different sheets and format to if it is true.

That's where you had the printpreview line, made no change to that. Move it between Next j and Next i (between the 14 columns loop and the sheets l...

5 years ago
Forum
Reply
RE: Use Power Query to connect to Xero data

Philip Treacy said The authorization process for the API is quite complicated and I haven't been able to get it to work in PQ in Excel. You can us...

5 years ago
Forum
Reply
RE: Use Power Query to connect to Xero data

Hi, you can use their API: Based on their docs, you have to build your query, with Get data from web.

5 years ago
Forum
Reply
RE: Change to code if a value is false, need to print to different sheets and format to if it is true.

Hi Peter, Sorry for the late reply. Try this: Private Sub cboPrintBus_Click() Dim shData As Worksheet, shGroup As Worksheet Dim arrSh As Va...

5 years ago
Forum
Page 68 / 130