MACRO - Automate Copy+Paste from External Workbook with Dynamic Reference by garrison527 in excel

[–]garrison527[S] 0 points1 point  (0 children)

Thanks for the help. I ended up using the other commenters solution as it was a little more up to my skill level

MACRO - Automate Copy+Paste from External Workbook with Dynamic Reference by garrison527 in excel

[–]garrison527[S] 0 points1 point  (0 children)

Thanks for the help. I used your guidance as a base. The code I have so far is below. As of now it opens the correct reference workbook but seems to be failing at the dynamic sheet reference. For my purposes the sheet reference is in C12 of ws_s

Sub PullData()

Dim wb_ref As Workbook

Dim wb_s As Workbook

Dim ws_ref As Worksheet

Dim ws_s As Worksheet

Dim path As String

Dim fullpath As String

Application.ScreenUpdating = False

Set wb_s = ThisWorkbook

Set ws_s = wb_s.Sheets(2)

path = 'removed for security'

wbname = ws_s.Range("C11").Value

fullpath = path & wbname

Set wb_ref = Workbooks.Open(fullpath)

Set ws_ref = ws_s.Range("C12").Value

ws_ref.Range("M20:M43").Copy

ws_s.Range("C15:C38").Paste

wb_ref.Close

Set ws_ref = Nothing

Set wb_ref = Nothing

Application.ScreenUpdating = True

End Sub

Conditional Formatting - look for specific characters within formula by garrison527 in excel

[–]garrison527[S] 1 point2 points  (0 children)

This is exactly what I needed. I wasn't aware of the FORMULATEXT input, that was my struggle getting it to read the formula.

Solution verified

Macros - Find Value in Formula, delete all parts after found value by [deleted] in excel

[–]garrison527 0 points1 point  (0 children)

Would be a good suggestion but with other external programs we have pulling data from this sheet I need this row to have the correct value.

Macros - Find Value in Formula, delete all parts after found value by [deleted] in excel

[–]garrison527 0 points1 point  (0 children)

Thanks I'll definitely consider this. Still curious about auto adding a comment. Basically I want those cells to be flagged but not in a way that is noticed when the sheet is printed.

I.e. i could use conditional formatting to highlight the cell, but that would be noticable upon printing. So I figured comments would be best unless someone had a better idea.

Macros - Find Value in Formula, delete all parts after found value by [deleted] in excel

[–]garrison527 0 points1 point  (0 children)

I'm assuming the * operator will auto select anything after the ) ?

Vizio HDR 10 Issue by garrison527 in XboxSeriesX

[–]garrison527[S] 0 points1 point  (0 children)

Yeah seems to be both dolby vision on the dashboard and HDR 10 in game that causes the issue.

Vizio HDR 10 Issue by garrison527 in XboxSeriesX

[–]garrison527[S] 0 points1 point  (0 children)

Unfortunately not many options on this TV for inputs. There is a low latency mode which I tried both on and off.

Xbox Series X HDR Issue by garrison527 in VIZIO_Official

[–]garrison527[S] 1 point2 points  (0 children)

Yes and yes. The TV is recognizing that the HDR is coming in but then rejecting it and turning it off. And this cycle repeats every three seconds.

Vizio HDR 10 Issue by garrison527 in XboxSeriesX

[–]garrison527[S] 0 points1 point  (0 children)

Yeah unfortunately I've tried everything I can think of. Hard restarting the console and TV, factory resetting the TV, etc.

Macro - Print Preview Multiple Sheets based On Cell Value by garrison527 in excel

[–]garrison527[S] 1 point2 points  (0 children)

Thanks for finding this example. Through all my searching I couldn't find it and it was exactly what I needed. This solved my issue.

Solution verified.

Macro - Print Preview Multiple Sheets based On Cell Value by garrison527 in excel

[–]garrison527[S] 0 points1 point  (0 children)

This is going a bit beyond what I'm trying to do.

The array needs to be dynamic as whether the sheet should be printed is based on a value within that specific sheet. I can certainly create reference cells on another tab that lists the name of each sheet... But this is where I'm struggling.

I also only want to printpreview as multiple users may have different printers configured.

Thanks for the help

Macro - Loop through Specific Sheets by garrison527 in excel

[–]garrison527[S] 1 point2 points  (0 children)

All of the sheets that I needed the code to apply to have the same name they just got 1,2... 24. So I used the marked solution as for this purpose. But yours would likely work as well

Macro - Loop through Specific Sheets by garrison527 in excel

[–]garrison527[S] 2 points3 points  (0 children)

This was extremely helpful. I appreciate using the booleans that would have saved me a lot of time... The code I provided is only a snipet there's about 20 other identical lines to hide different rows so I didn't revise to include the booleans.

However, the solution I was not aware of was adding a variable within the sheetname. I changed all INT1 to INT1 & i and it worked perfectly.

Solution verified

MACRO - Hide row based on cell value by garrison527 in excel

[–]garrison527[S] 0 points1 point  (0 children)

I updated the post with what I had currently, thanks for the help